summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorMikhail Berkov <uhasker@protonmail.com>2022-12-16 10:26:30 (GMT)
committerGitHub <noreply@github.com>2022-12-16 10:26:30 (GMT)
commit2cd5146f273f8e6e7cfeccb19676907294ba1ace (patch)
tree22e932aebc7ddccd458f66bb4417ff924364f451 /Doc/tutorial
parent101cfe679fe10b9b662e815999dadf81fcc32c9c (diff)
downloadcpython-2cd5146f273f8e6e7cfeccb19676907294ba1ace.zip
cpython-2cd5146f273f8e6e7cfeccb19676907294ba1ace.tar.gz
cpython-2cd5146f273f8e6e7cfeccb19676907294ba1ace.tar.bz2
Fix typo in introduction.rst (#100266)
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/introduction.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst
index 558b1c3..6532a4e 100644
--- a/Doc/tutorial/introduction.rst
+++ b/Doc/tutorial/introduction.rst
@@ -269,7 +269,7 @@ Indices may also be negative numbers, to start counting from the right::
Note that since -0 is the same as 0, negative indices start from -1.
In addition to indexing, *slicing* is also supported. While indexing is used
-to obtain individual characters, *slicing* allows you to obtain substring::
+to obtain individual characters, *slicing* allows you to obtain a substring::
>>> word[0:2] # characters from position 0 (included) to 2 (excluded)
'Py'