diff options
author | David Beazley <dave@dabeaz.com> | 2008-11-27 19:36:14 +0000 |
---|---|---|
committer | David Beazley <dave@dabeaz.com> | 2008-11-27 19:36:14 +0000 |
commit | ca5170e19a22acc8c960c1e2d60ecf353a197057 (patch) | |
tree | 3d18cafc75d61f3bc5412338db061175e796a212 /test/lex_state1.py | |
parent | c66982f8e7dc7de7bbb73c1e40699fd22aef5eac (diff) | |
download | ply-ca5170e19a22acc8c960c1e2d60ecf353a197057.tar.gz |
Python 2.6/3.0 compatibility changes
Diffstat (limited to 'test/lex_state1.py')
-rw-r--r-- | test/lex_state1.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lex_state1.py b/test/lex_state1.py index 881fec9..7528c91 100644 --- a/test/lex_state1.py +++ b/test/lex_state1.py @@ -23,11 +23,11 @@ t_NUMBER = r'\d+' def t_comment(t): r'/\*' t.lexer.begin('comment') - print "Entering comment state" + print("Entering comment state") def t_comment_body_part(t): r'(.|\n)*\*/' - print "comment body", t + print("comment body %s" % t) t.lexer.begin('INITIAL') def t_error(t): |