You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Use attr insead of pattrr for non-strings
This commit is contained in:
@@ -65,10 +65,12 @@ class Scanner37(Scanner37Base):
|
||||
|
||||
for j in range(collection_start, i):
|
||||
if tokens[j].kind not in (
|
||||
"LOAD_CODE",
|
||||
"LOAD_CONST",
|
||||
"LOAD_FAST",
|
||||
"LOAD_GLOBAL",
|
||||
"LOAD_NAME",
|
||||
"LOAD_STR",
|
||||
):
|
||||
return next_tokens + [t]
|
||||
|
||||
|
Reference in New Issue
Block a user