From: Raymond Hettinger Date: Fri, 13 May 2011 08:03:50 +0000 (-0700) Subject: Neaten up example so it can be cut and pasted. X-Git-Tag: v3.2.1rc1~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c47d778f7d9e166c18d8b86f84a2065126c06c6;p=python Neaten up example so it can be cut and pasted. --- diff --git a/Doc/library/re.rst b/Doc/library/re.rst index cd3fbb6be0..6df3106593 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)