mirror of https://github.com/python/cpython
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
|
@ -106,7 +106,7 @@ An example that uses most of the list methods::
|
|||
0
|
||||
>>> fruits.index('banana')
|
||||
3
|
||||
>>> fruits.index('banana', 4) # Find next banana starting a position 4
|
||||
>>> fruits.index('banana', 4) # Find next banana starting at position 4
|
||||
6
|
||||
>>> fruits.reverse()
|
||||
>>> fruits
|
||||
|
|
Loading…
Reference in New Issue