You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
fix UnboundLocalError
This commit is contained in:
@@ -1439,7 +1439,7 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
i = n - (len(kwargs)+1)
|
||||
j = 1 + n - node[n].attr
|
||||
else:
|
||||
start = n-2
|
||||
i = start = n-2
|
||||
for i in range(start, 0, -1):
|
||||
if not node[i].kind in ['expr', 'call', 'LOAD_CLASSNAME']:
|
||||
break
|
||||
|
Reference in New Issue
Block a user