]> granicus.if.org Git - python/commitdiff
Issue #18079: Fix a typo in the tutorial.
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 28 May 2013 09:49:34 +0000 (12:49 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 28 May 2013 09:49:34 +0000 (12:49 +0300)
Doc/tutorial/introduction.rst

index 1cd7e0a71665963f02d13cc54d4b2108d78aa55f..36ede2bc84013496962ca4cfb557dae1704de7f0 100644 (file)
@@ -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: