From: Mikhail Berkov Date: Fri, 16 Dec 2022 10:26:30 +0000 (+0100) Subject: Fix typo in introduction.rst (#100266) X-Git-Tag: v3.12.0a4~208 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2cd5146f273f8e6e7cfeccb19676907294ba1ace;p=thirdparty%2FPython%2Fcpython.git Fix typo in introduction.rst (#100266) --- diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 558b1c3eec60..6532a4e2cc83 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'