Redo Python 2.3 to be more like the rest

This commit is contained in:
rocky
2016-07-09 05:59:02 -04:00
committed by rocky
parent ae78e9f930
commit ac45e5757c
7 changed files with 37 additions and 1204 deletions

View File

@@ -24,7 +24,7 @@ class Python2Parser(PythonParser):
super(Python2Parser, self).__init__(AST, 'stmts', debug=debug_parser)
self.new_rules = set()
def p_print(self, args):
def p_print2(self, args):
'''
stmt ::= print_items_stmt
stmt ::= print_nl