10000 :fire: remove global · pyexcel/pyexcel@70cfbcd · GitHub
[go: up one dir, main page]

Skip to content

Commit 70cfbcd

Browse files
committed
🔥 remove global
1 parent 2b693df commit 70cfbcd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyexcel/internal/garbagecollector.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,4 @@ def reset():
3737
"""
3838
After everything has been closed, reset the array
3939
"""
40-
global GARBAGE
41-
GARBAGE = []
40+
GARBAGE.clear()

0 commit comments

Comments
 (0)
0