From a47bbf5a4b6aaba52be774ddd2cb23be26a638ef Mon Sep 17 00:00:00 2001 From: Alexander Belopolsky Date: Thu, 18 Nov 2010 01:52:54 +0000 Subject: 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. --- Lib/test/pydoc_mod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/pydoc_mod.py') diff --git a/Lib/test/pydoc_mod.py b/Lib/test/pydoc_mod.py index 9c53324a6d..f86b5c621e 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""" -- cgit v1.2.1