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

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


http://hg.python.org/cpython/rev/bde91dddbcbc
changeset:   83947:bde91dddbcbc
branch:      3.3
parent:      83945:8cebe8d537a4
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Tue May 28 12:49:34 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