mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
bpo-46565: del loop vars that are leaking into module namespaces (GH-30993)
This commit is contained in:
parent
6394e981ad
commit
0cbdd21311
14 changed files with 21 additions and 8 deletions
|
|
@ -746,6 +746,7 @@ locale_encoding_alias = {
|
|||
for k, v in sorted(locale_encoding_alias.items()):
|
||||
k = k.replace('_', '')
|
||||
locale_encoding_alias.setdefault(k, v)
|
||||
del k, v
|
||||
|
||||
#
|
||||
# The locale_alias table maps lowercase alias names to C locale names
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue