diff options
author | Raymond Hettinger <python@rcn.com> | 2011-05-13 08:03:50 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-05-13 08:03:50 (GMT) |
commit | 9c47d778f7d9e166c18d8b86f84a2065126c06c6 (patch) | |
tree | 24cd683005f9d300b9f3a500bd13db631944e250 /Doc/library/re.rst | |
parent | 5166375045021dfb2944efee0f63d60b36dfdf58 (diff) | |
download | cpython-9c47d778f7d9e166c18d8b86f84a2065126c06c6.zip cpython-9c47d778f7d9e166c18d8b86f84a2065126c06c6.tar.gz cpython-9c47d778f7d9e166c18d8b86f84a2065126c06c6.tar.bz2 |
Neaten up example so it can be cut and pasted.
Diffstat (limited to 'Doc/library/re.rst')
-rw-r--r-- | Doc/library/re.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst index cd3fbb6..6df3106 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -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) |