mirror of https://github.com/python/cpython.git
Neaten up example so it can be cut and pasted.
This commit is contained in:
parent
5166375045
commit
9c47d778f7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue