すばらしきかな??

?? 最強。
ありがとう id:jbking

Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04) 
Type "copyright", "credits" or "license" for more information.

IPython 0.8.1 -- An enhanced Interactive Python.
?       -> Introduction to IPython's features.
%magic  -> Information about IPython's 'magic' % functions.
help    -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]: from django.db.models.base import Model

In [2]: Model.__eq__??
Type:           instancemethod
Base Class:     <type 'instancemethod'>
String Form:    <unbound method Model.__eq__>
Namespace:      Interactive
File:           /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/db/models/base.py
Definition:     Model.__eq__(self, other)
Source:
    def __eq__(self, other):
        return isinstance(other, self.__class__) and self._get_pk_val() == other._get_pk_val()

一番のお勧めはIpython です!!!

maeda.na@はてな - pythonのソースコードを読むコツのようなもの
http://d.hatena.ne.jp/maedana/20070919/1190206853

と突っ込んでみるテスト。