[Python-checkins] cpython (merge 3.3 -> default): Merge issue #16265: Fix collapsing of code sample in tutorial.

andrew.svetlov python-checkins at python.org
Wed Oct 17 15:47:54 CEST 2012


http://hg.python.org/cpython/rev/c8a11e9a0217
changeset:   79790:c8a11e9a0217
parent:      79787:240fa6e93925
parent:      79789:7c0de8be4eaf
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Wed Oct 17 16:46:50 2012 +0300
summary:
  Merge issue #16265: Fix collapsing of code sample in tutorial.

Thanks to Yongzhi Pan from docs@

files:
  Doc/tutorial/inputoutput.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst
--- a/Doc/tutorial/inputoutput.rst
+++ b/Doc/tutorial/inputoutput.rst
@@ -184,7 +184,7 @@
 
    >>> table = {'Sjoerd': 4127, 'Jack': 4098, 'Dcab': 8637678}
    >>> print('Jack: {0[Jack]:d}; Sjoerd: {0[Sjoerd]:d}; '
-             'Dcab: {0[Dcab]:d}'.format(table))
+   ...       'Dcab: {0[Dcab]:d}'.format(table))
    Jack: 4098; Sjoerd: 4127; Dcab: 8637678
 
 This could also be done by passing the table as keyword arguments with the '**'

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list