[Python-checkins] cpython (3.3): Remove newline in method that makes it possible to copy example to the
georg.brandl
python-checkins at python.org
Sun Oct 6 09:42:07 CEST 2013
http://hg.python.org/cpython/rev/65a3ba21c679
changeset: 86003:65a3ba21c679
branch: 3.3
parent: 86000:8b77febfb2fb
user: Georg Brandl <georg at python.org>
date: Sun Oct 06 09:42:46 2013 +0200
summary:
Remove newline in method that makes it possible to copy example to the interactive interpreter.
files:
Doc/tutorial/classes.rst | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -168,7 +168,6 @@
def do_global():
global spam
spam = "global spam"
-
spam = "test spam"
do_local()
print("After local assignment:", spam)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list