diff options
author | Georg Brandl <georg@python.org> | 2013-10-06 07:42:46 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-10-06 07:42:46 (GMT) |
commit | a0ec296599183e7a82ee4c0f096d51ae858b6f98 (patch) | |
tree | 35eeb3506c19921921942737ac04299b778cc21e /Doc/tutorial/classes.rst | |
parent | a84d473f02bf74e68a9a1a53faceb31b780f1577 (diff) | |
download | cpython-a0ec296599183e7a82ee4c0f096d51ae858b6f98.zip cpython-a0ec296599183e7a82ee4c0f096d51ae858b6f98.tar.gz cpython-a0ec296599183e7a82ee4c0f096d51ae858b6f98.tar.bz2 |
Remove newline in method that makes it possible to copy example to the interactive interpreter.
Diffstat (limited to 'Doc/tutorial/classes.rst')
-rw-r--r-- | Doc/tutorial/classes.rst | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 3283e54..291410a 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -168,7 +168,6 @@ binding:: def do_global(): global spam spam = "global spam" - spam = "test spam" do_local() print("After local assignment:", spam) |