|
5.2.2 Which Docstrings Are Examined?See docstring.py for all the details. They're unsurprising: the module docstring, and all function, class and method docstrings are searched, with the exception of docstrings attached to objects with private names. Objects imported into the module are not searched.
In addition, if
Any classes found are recursively searched similarly, to test docstrings in
their contained methods and nested classes. While private names reached
from M's globals are skipped, all names reached from
See About this document... for information on suggesting changes. |