diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-05-02 22:25:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 22:25:52 (GMT) |
commit | cb6c6648bea57046d5ceff9382f19ebae024b918 (patch) | |
tree | b060b35fb235fac6b0ee6529ca8ee71a00ea9867 /Lib | |
parent | 5f45a9d3c3de97a4eafedb60ecea224a78bae52c (diff) | |
download | cpython-cb6c6648bea57046d5ceff9382f19ebae024b918.zip cpython-cb6c6648bea57046d5ceff9382f19ebae024b918.tar.gz cpython-cb6c6648bea57046d5ceff9382f19ebae024b918.tar.bz2 |
bpo-46547: remove leaking vars into `pydoc.Helper` namespace (#30957)
Fixes #90705
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/pydoc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 12c2bb4..297ff96 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -1891,6 +1891,7 @@ class Helper: if topic not in topics: topics = topics + ' ' + topic symbols[symbol] = topics + del topic, symbols_, symbol, topics topics = { 'TYPES': ('types', 'STRINGS UNICODE NUMBERS SEQUENCES MAPPINGS ' |