[Python-checkins] cpython (3.2): Neaten up example so it can be cut and pasted.

raymond.hettinger python-checkins at python.org
Fri May 13 10:04:53 CEST 2011


http://hg.python.org/cpython/rev/512f638dc9e9
changeset: 70071:512f638dc9e9
branch: 3.2
parent: 70067:856739c3aceb
user: Raymond Hettinger <python at rcn.com>
date: Fri May 13 01:03:50 2011 -0700
summary:
 Neaten up example so it can be cut and pasted.
files:
 Doc/library/re.rst | 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -1336,8 +1336,8 @@
 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)
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /