[Python-checkins] cpython: Fix closes Issue: 14217 - Appropriate sphinx directive for output. Patch by
senthil.kumaran
python-checkins at python.org
Fri Mar 9 05:54:41 CET 2012
http://hg.python.org/cpython/rev/3d877dee1bde
changeset: 75501:3d877dee1bde
parent: 75499:2cc44cd8098e
user: Senthil Kumaran <senthil at uthcode.com>
date: Thu Mar 08 20:54:34 2012 -0800
summary:
Fix closes Issue: 14217 - Appropriate sphinx directive for output. Patch by Tshepang Lekhonkhobe
files:
Doc/tutorial/classes.rst | 4 +++-
1 files changed, 3 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,9 @@
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