mirror of https://github.com/python/cpython.git
revise wording to avoid confusion for non-native English speakers
(second occurance of the same wording)
This commit is contained in:
parent
20938f57ba
commit
4ab0e9e541
|
@ -750,7 +750,7 @@ For example:
|
||||||
'p'
|
'p'
|
||||||
>>> word[-2:] # The last two characters
|
>>> word[-2:] # The last two characters
|
||||||
'pA'
|
'pA'
|
||||||
>>> word[:-2] # All but the last two characters
|
>>> word[:-2] # Everything except the last two characters
|
||||||
'Hel'
|
'Hel'
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue