[Python-checkins] cpython (3.2): Fix closes Issue: 14217 - 3.2 branch
senthil.kumaran
python-checkins at python.org
Fri Mar 9 05:58:37 CET 2012
http://hg.python.org/cpython/rev/aaf45928899c
changeset: 75502:aaf45928899c
branch: 3.2
parent: 75483:509b222679e8
user: Senthil Kumaran <senthil at uthcode.com>
date: Thu Mar 08 20:56:52 2012 -0800
summary:
Fix closes Issue: 14217 - 3.2 branch
files:
Doc/tutorial/classes.rst | 5 ++++-
1 files changed, 4 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
@@ -180,7 +180,10 @@
scope_test()
print("In global scope:", spam)
-The output of the example code is::
+The output of the example code is:
+
+.. code-block:: none
+
After local assignment: test spam
After nonlocal assignment: nonlocal spam
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list