Neaten up example so it can be cut and pasted.

This commit is contained in:
Raymond Hettinger 2011-05-13 01:04:45 -07:00
commit 2584b2f9f3
1 changed files with 2 additions and 2 deletions

View File

@ -1339,8 +1339,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)