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'
|
||||
>>> word[-2:] # The last two characters
|
||||
'pA'
|
||||
>>> word[:-2] # All but the last two characters
|
||||
>>> word[:-2] # Everything except the last two characters
|
||||
'Hel'
|
||||
\end{verbatim}
|
||||
|
||||
|
|
Loading…
Reference in New Issue