mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Issue #18079: Fix a typo in the tutorial.
This commit is contained in:
commit
3801f632dc
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue