summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-05-28 09:49:34 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-05-28 09:49:34 (GMT)
commitfef952a60749477cb612203cd09d208869b6e5e2 (patch)
tree09d3d561f3fed0de115d40d0049ddbe468e72c41 /Doc
parentb501b565c6b5eaf5db9a6edf0258ac8b6ba9a532 (diff)
downloadcpython-fef952a60749477cb612203cd09d208869b6e5e2.zip
cpython-fef952a60749477cb612203cd09d208869b6e5e2.tar.gz
cpython-fef952a60749477cb612203cd09d208869b6e5e2.tar.bz2
Issue #18079: Fix a typo in the tutorial.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tutorial/introduction.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst
index 1cd7e0a..36ede2b 100644
--- a/Doc/tutorial/introduction.rst
+++ b/Doc/tutorial/introduction.rst
@@ -447,9 +447,9 @@ example::
>>> x = [a, n]
>>> x
[['a', 'b', 'c'], [1, 2, 3]]
- >>> p[0]
+ >>> x[0]
['a', 'b', 'c']
- >>> p[0][1]
+ >>> x[0][1]
'b'
.. _tut-firststeps: