]> granicus.if.org Git - python/commitdiff
Fix closes Issue: 14217 - Appropriate sphinx directive for output. Patch by Tshepang...
authorSenthil Kumaran <senthil@uthcode.com>
Fri, 9 Mar 2012 04:54:34 +0000 (20:54 -0800)
committerSenthil Kumaran <senthil@uthcode.com>
Fri, 9 Mar 2012 04:54:34 +0000 (20:54 -0800)
Doc/tutorial/classes.rst

index 33171cd49e4a8081f8fb7fbcca9e6fd541ee60e1..b4f09c20ebb996ac973266ddd8ca4cd319dd0307 100644 (file)
@@ -180,7 +180,9 @@ binding::
    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