| format_help(self)
| # =======================
| # Help-formatting methods
| # =======================
|
| start_section(self, heading)
| # ========================
| # Message building methods
| # ========================
|
Comments immediately preceding the object's source code are used if the object has no docstring. But these comments do not describe the following methods. They are just section headers, separating groups of methods. They should be separated by an empty line from the following code.
Bug report
pydocincorrectly shows some comments forargparse:Comments immediately preceding the object's source code are used if the object has no docstring. But these comments do not describe the following methods. They are just section headers, separating groups of methods. They should be separated by an empty line from the following code.
Linked PRs