1. Nick Coghlan
  2. cpython_sandbox

Commits

Serhiy Storchaka  committed 09b88b5 Merge

Issue #18079: Fix a typo in the tutorial.

  • Participants
  • Parent commits eb1025b, bde91dd
  • Branches default

Comments (0)

Files changed (1)

File Doc/tutorial/introduction.rst

View file
    >>> 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: