rodrigosantosbr

[Python] Module internal documentation

Feb 14th, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

You can see the internal documentation (if available) of a module name by looking at .doc.

>>> import time
>>> print time.clock.__doc__
clock() -> floating point number

This example returns the CPU time or real time since the start of the process or since the first call to clock(). This has as much precision as the system records.

Add Comment
Please, Sign In to add comment