mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +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
|
|
@ -30,6 +30,7 @@ ESCAPE_DCT = {
|
|||
for i in range(0x20):
|
||||
ESCAPE_DCT.setdefault(chr(i), '\\u{0:04x}'.format(i))
|
||||
#ESCAPE_DCT.setdefault(chr(i), '\\u%04x' % (i,))
|
||||
del i
|
||||
|
||||
INFINITY = float('inf')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue