Search notes:
Python: __doc__
The
__doc__
attribute corresponds to an
object's
docstring
, see for example
here
.
__doc__
is one of the names that is present in the top level scope (
__name__
== '__main__'
) as returned by
dir()
.
See also
__annotations__
Other dunders
Index