mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue