summaryrefslogtreecommitdiff
path: root/test/lex_state1.py
diff options
context:
space:
mode:
authorDavid Beazley <dave@dabeaz.com>2008-11-27 19:36:14 +0000
committerDavid Beazley <dave@dabeaz.com>2008-11-27 19:36:14 +0000
commitca5170e19a22acc8c960c1e2d60ecf353a197057 (patch)
tree3d18cafc75d61f3bc5412338db061175e796a212 /test/lex_state1.py
parentc66982f8e7dc7de7bbb73c1e40699fd22aef5eac (diff)
downloadply-ca5170e19a22acc8c960c1e2d60ecf353a197057.tar.gz
Python 2.6/3.0 compatibility changes
Diffstat (limited to 'test/lex_state1.py')
-rw-r--r--test/lex_state1.py4
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):