diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-11-18 01:52:54 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-11-18 01:52:54 (GMT) |
commit | a47bbf5a4b6aaba52be774ddd2cb23be26a638ef (patch) | |
tree | de599d78aab41cbbcd75083d2581a2aea39fb527 /Lib/test/pydoc_mod.py | |
parent | f609654b0e36796275b7c9f822349e89fe9b4f2d (diff) | |
download | cpython-a47bbf5a4b6aaba52be774ddd2cb23be26a638ef.zip cpython-a47bbf5a4b6aaba52be774ddd2cb23be26a638ef.tar.gz cpython-a47bbf5a4b6aaba52be774ddd2cb23be26a638ef.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/pydoc_mod.py')
-rw-r--r-- | Lib/test/pydoc_mod.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/pydoc_mod.py b/Lib/test/pydoc_mod.py index 9c53324..f86b5c6 100644 --- a/Lib/test/pydoc_mod.py +++ b/Lib/test/pydoc_mod.py @@ -3,7 +3,7 @@ __author__ = "Benjamin Peterson" __credits__ = "Nobody" __version__ = "1.2.3.4" - +__xyz__ = "X, Y and Z" class A: """Hello and goodbye""" |