[Python-checkins] cpython (merge 3.3 -> default): Issue #18079: Fix a typo in the tutorial.

serhiy.storchaka python-checkins at python.org
Tue May 28 11:53:29 CEST 2013


http://hg.python.org/cpython/rev/09b88b5bebd0
changeset:   83948:09b88b5bebd0
parent:      83946:eb1025b107c5
parent:      83947:bde91dddbcbc
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Tue May 28 12:50:54 2013 +0300
summary:
  Issue #18079: Fix a typo in the tutorial.

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


diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst
--- a/Doc/tutorial/introduction.rst
+++ b/Doc/tutorial/introduction.rst
@@ -447,9 +447,9 @@
    >>> 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:

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


More information about the Python-checkins mailing list