ドキュメンテーション文字列 __doc__

>>> import sys
>>> print sys.getrefcount.__doc__
getrefcount(object) -> integer

Return the reference count of object.  The count returned is generally
one higher than you might expect, because it includes the (temporary)
reference as an argument to getrefcount().

help(sys.getrefcount)でもOK.