bpo-46547: remove leaking vars into pydoc.Helper
namespace (#30957)
Fixes #90705
This commit is contained in:
parent
5f45a9d3c3
commit
cb6c6648be
@ -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 '
|
||||
|
@ -0,0 +1 @@
|
||||
Remove variables leaking into ``pydoc.Helper`` class namespace.
|
Loading…
x
Reference in New Issue
Block a user