diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2012-03-09 04:56:52 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2012-03-09 04:56:52 (GMT) |
commit | 065dedaf474279e5c598ba23216887212e9fd29e (patch) | |
tree | 887b7a749c9a82cb680ff60d9164ca5a480e2e01 /Doc/tutorial | |
parent | dae9f8334ec1b537b9f54659d08e6acb14d13aad (diff) | |
download | cpython-065dedaf474279e5c598ba23216887212e9fd29e.zip cpython-065dedaf474279e5c598ba23216887212e9fd29e.tar.gz cpython-065dedaf474279e5c598ba23216887212e9fd29e.tar.bz2 |
Fix closes Issue: 14217 - 3.2 branch
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/classes.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 68c4e5d..5ce3669 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -180,7 +180,10 @@ 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 |