Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d5ba4ae

Browse files
committed
SF #515018, delete global variable that was apparently used only
in a list comprehension.
1 parent f963b45 commit d5ba4ae

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/pickle.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def __init__(self, value):
103103
BINFLOAT = 'G'
104104

105105
__all__.extend([x for x in dir() if re.match("[A-Z][A-Z0-9_]+$",x)])
106+
del x
106107

107108
class Pickler:
108109

0 commit comments

Comments
 (0)