Skip to content

Commit 458b985

Browse files
committed
Remove unnecessary nonlocal
1 parent 78e2f7b commit 458b985

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/test_core.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,6 @@ def decorator(f):
375375

376376
@wraps(f)
377377
def decorated(self, *args, **kwargs):
378-
nonlocal name
379378
if '=' in name:
380379
key, val = name.split('=', 1)
381380
else:

0 commit comments

Comments
 (0)