You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Expand annotate return to Python 3.4
This commit is contained in:
@@ -9,9 +9,9 @@ from uncompyle6.parsers.parse32 import Python32Parser
|
||||
|
||||
class Python33Parser(Python32Parser):
|
||||
|
||||
def p_33(self, args):
|
||||
def p_33on(self, args):
|
||||
"""
|
||||
# Python 3.3 adds yield from.
|
||||
# Python 3.3+ adds yield from.
|
||||
expr ::= yield_from
|
||||
yield_from ::= expr expr YIELD_FROM
|
||||
"""
|
||||
|
Reference in New Issue
Block a user