diff options
author | Georg Brandl <georg@python.org> | 2008-05-25 13:05:15 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-25 13:05:15 +0000 |
commit | 2067bfdf253e134a4144d3747300dbfcc7cc6203 (patch) | |
tree | 76613f07319d07cc4f0159769131a051504f8c69 /Lib/pydoc.py | |
parent | 3b4b45bfe546b023383d4382af7767359390e264 (diff) | |
download | cpython-git-2067bfdf253e134a4144d3747300dbfcc7cc6203.tar.gz |
Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875.
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-x | Lib/pydoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 57bd5e2298..140e1d8927 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -347,7 +347,7 @@ class Doc: if (isinstance(object, type(os)) and (object.__name__ in ('errno', 'exceptions', 'gc', 'imp', 'marshal', 'posix', 'signal', 'sys', - 'thread', 'zipimport') or + '_thread', 'zipimport') or (file.startswith(basedir) and not file.startswith(os.path.join(basedir, 'site-packages'))))): if docloc.startswith("http://"): |