summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorTrent Nelson <trent@trent.me>2012-10-17 22:08:16 (GMT)
committerTrent Nelson <trent@trent.me>2012-10-17 22:08:16 (GMT)
commitdd35500073739c8b697dac7a84f323d5854cee39 (patch)
tree2fa2928ed415116c69ebfeacf461829c666ae320 /Doc/tutorial
parentecbe2a91850516e41715885e6688e31935ed8f2c (diff)
parente60983e4a5f1294ef887f0a7df0d011f5569ed4e (diff)
downloadcpython-dd35500073739c8b697dac7a84f323d5854cee39.zip
cpython-dd35500073739c8b697dac7a84f323d5854cee39.tar.gz
cpython-dd35500073739c8b697dac7a84f323d5854cee39.tar.bz2
Merge heads.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/inputoutput.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst
index 45de518..73143be 100644
--- a/Doc/tutorial/inputoutput.rst
+++ b/Doc/tutorial/inputoutput.rst
@@ -184,7 +184,7 @@ square brackets ``'[]'`` to access the keys ::
>>> 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 '**'