mirror of
https://github.com/python/cpython.git
synced 2025-08-22 01:35:16 +00:00
bpo-46547: remove leaking vars into pydoc.Helper
namespace (#30957)
Fixes #90705
This commit is contained in:
parent
5f45a9d3c3
commit
cb6c6648be
2 changed files with 2 additions and 0 deletions
|
@ -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 '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue