Python 3 DUP_TOP_TWO bug

This commit is contained in:
rocky
2016-05-08 18:41:39 -04:00
parent dddb486d78
commit 196495c40e
4 changed files with 12 additions and 0 deletions

View File

@@ -344,6 +344,9 @@ class Python3Parser(PythonParser):
# Python 3.3+ adds yield from
expr ::= yield_from
yield_from ::= expr expr YIELD_FROM
# In Python 2, DUP_TOP_TWO is DUP_TOPX_2
binary_subscr2 ::= expr expr DUP_TOP_TWO BINARY_SUBSCR
'''
@staticmethod