mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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'
|
||||
>>> 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…
Add table
Add a link
Reference in a new issue