Where is the help function defined?

Stephen Hansen me+list/python at ixokai.io
Mon Jun 21 13:33:37 EDT 2010


On 6/21/10 10:17 AM, Peng Yu wrote:
> Help on _Helper in module site object:

It says so right here.

> I then looked at pydoc site. But I don't see an entry on help(). How
> to figure out where help() (or a function in general) is defined?

Generally:

Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> help.__class__
<class 'site._Helper'>




-- 

   Stephen Hansen
   ... Also: Ixokai
   ... Mail: me+list/python (AT) ixokai (DOT) io
   ... Blog: http://meh.ixokai.io/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20100621/bd423b9f/attachment.sig>


More information about the Python-list mailing list