python online help?
gerrit.holl at pobox.com
Sat Feb 19 09:44:52 CET 2000
Benyang Tang wrote on 950873162:
> Is there a online help in python? Say something like
> help print
> would give document of the print command.
Callable objects have "docstrings":
>>> print abs.__doc__
abs(number) -> number
Return the absolute value of the argument.
>>> print tuple.__doc__
tuple(sequence) -> list
Return a tuple whose items are the same as those of the argument sequence.
If the argument is a tuple, the return value is the same object.
Modules also have docstrings, statements have not.
cat: /home/gerrit/.signature: No such quote or joke
More information about the Python-list