]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #10446: Several changes to module documentation generated by pydoc:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>
Thu, 18 Nov 2010 01:52:54 +0000 (01:52 +0000)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>
Thu, 18 Nov 2010 01:52:54 +0000 (01:52 +0000)
commita47bbf5a4b6aaba52be774ddd2cb23be26a638ef
treede599d78aab41cbbcd75083d2581a2aea39fb527
parentf609654b0e36796275b7c9f822349e89fe9b4f2d
Issue #10446: Several changes to module documentation generated by pydoc:

1. Online reference manual link is now version-specific and the
   'MODULE DOCS' section renamed to 'MODULE REFERENCE'.

2. 'FILE' section is moved to the end of the file.

3. Special names processed by pydoc such as __version__ or __credits__
   are now excluded from the DATA section.

4. Defined __all__ to prevent pydoc from exposing undocumented details
   about itself.

5. Removed Python 2.3 compatibility code.
Doc/library/pydoc.rst
Lib/pydoc.py
Lib/test/pydoc_mod.py
Lib/test/test_pydoc.py