From 0b1e8c7fc8f2cb913400e186ef9a2e8361ee6ad5 Mon Sep 17 00:00:00 2001 From: Mikhail Berkov Date: Thu, 15 Dec 2022 13:43:56 +0100 Subject: [PATCH] Fix typo in introduction.rst --- Doc/tutorial/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 558b1c3eec60ed..6532a4e2cc83fe 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'