Neaten up example so it can be cut and pasted.

This commit is contained in:
Raymond Hettinger 2011-05-13 01:03:50 -07:00
parent 5166375045
commit 9c47d778f7
1 changed files with 2 additions and 2 deletions

View File

@ -1336,8 +1336,8 @@ successive matches::
tax := price * 0.05;
'''
>>> for token in tokenize(statements):
... print(token)
...
print(token)
Token(typ='ID', value='total', line=1, column=8)
Token(typ='ASSIGN', value=':=', line=1, column=14)
Token(typ='ID', value='total', line=1, column=17)