You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
More complete annotate handling
Still have a bit of work to do though.
This commit is contained in:
@@ -45,7 +45,7 @@ class Python31Parser(Python32Parser):
|
||||
# ('pos_arg ' * (args_pos), 'kwargs ' * (annotate_args-1), opname))
|
||||
rule = ('mkfunc_annotate ::= %s%sLOAD_CONST EXTENDED_ARG %s' %
|
||||
(('pos_arg ' * (args_pos)),
|
||||
('annotate_args ' * (annotate_args-1)), opname))
|
||||
('annotate_arg ' * (annotate_args)), opname))
|
||||
self.add_unique_rule(rule, opname, token.attr, customize)
|
||||
class Python31ParserSingle(Python31Parser, PythonParserSingle):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user