mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
small grammatical change (GH-96138)
changed a to an under An example that uses most of the list methods
This commit is contained in:
parent
511dea0a3e
commit
d8c7a1174c
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ An example that uses most of the list methods::
|
||||||
0
|
0
|
||||||
>>> fruits.index('banana')
|
>>> fruits.index('banana')
|
||||||
3
|
3
|
||||||
>>> fruits.index('banana', 4) # Find next banana starting a position 4
|
>>> fruits.index('banana', 4) # Find next banana starting at position 4
|
||||||
6
|
6
|
||||||
>>> fruits.reverse()
|
>>> fruits.reverse()
|
||||||
>>> fruits
|
>>> fruits
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue