summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorTrent Nelson <trent@trent.me>2012-10-17 22:08:40 (GMT)
committerTrent Nelson <trent@trent.me>2012-10-17 22:08:40 (GMT)
commitf17512f67e545bfeda1905b63f80217e0b7853aa (patch)
treef88dd59d7d4b46c8063ec714dae0c99dbf3aeca6 /Doc/tutorial
parentc78649873fe76da34230bb8ee5284ff64b2af2e4 (diff)
parent743e0cd6b5d59767aae2524700857f188ca1e80e (diff)
downloadcpython-f17512f67e545bfeda1905b63f80217e0b7853aa.zip
cpython-f17512f67e545bfeda1905b63f80217e0b7853aa.tar.gz
cpython-f17512f67e545bfeda1905b63f80217e0b7853aa.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 '**'