mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +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, n]
|
||||||
>>> x
|
>>> x
|
||||||
[['a', 'b', 'c'], [1, 2, 3]]
|
[['a', 'b', 'c'], [1, 2, 3]]
|
||||||
>>> p[0]
|
>>> x[0]
|
||||||
['a', 'b', 'c']
|
['a', 'b', 'c']
|
||||||
>>> p[0][1]
|
>>> x[0][1]
|
||||||
'b'
|
'b'
|
||||||
|
|
||||||
.. _tut-firststeps:
|
.. _tut-firststeps:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue