mirror of https://github.com/python/cpython.git
revise wording to avoid confusion for non-native English speakers
This commit is contained in:
parent
b4bf62f807
commit
20938f57ba
|
@ -689,7 +689,7 @@ sliced.
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
>>> word[:2] # The first two characters
|
>>> word[:2] # The first two characters
|
||||||
'He'
|
'He'
|
||||||
>>> word[2:] # All but the first two characters
|
>>> word[2:] # Everything except the first two characters
|
||||||
'lpA'
|
'lpA'
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue