You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
annotate args type need to be expr's not constants
This commit is contained in:
@@ -282,8 +282,7 @@ class Python3Parser(PythonParser):
|
||||
# int, float, str
|
||||
annotate_arg ::= LOAD_NAME
|
||||
# LOAD_CONST is used in an annotation string
|
||||
annotate_arg ::= LOAD_CONST
|
||||
annotate_arg ::= LOAD_GLOBAL
|
||||
annotate_arg ::= expr
|
||||
|
||||
# This stores the tuple of parameter names
|
||||
# that have been annotated
|
||||
|
Reference in New Issue
Block a user