NT binary_subscr -> subscript to match AST

This commit is contained in:
rocky
2017-11-29 00:08:08 -05:00
parent fb695616a6
commit c81b4df8b7
7 changed files with 12 additions and 12 deletions

View File

@@ -189,7 +189,7 @@ class Python2Parser(PythonParser):
unary_convert ::= expr UNARY_CONVERT
# In Python 3, DUP_TOPX_2 is DUP_TOP_TWO
binary_subscr2 ::= expr expr DUP_TOPX_2 BINARY_SUBSCR
subscript2 ::= expr expr DUP_TOPX_2 BINARY_SUBSCR
"""
def p_slice2(self, args):