Docstrings provide documentation for user-defined functions
__doc__
and help()
both provide documentation of the object instance or the function respectively
The syntax of a multi-line docstring goes into the body of a function
Search
Docstrings provide documentation for user-defined functions
__doc__
and help()
both provide documentation of the object instance or the function respectively
The syntax of a multi-line docstring goes into the body of a function