[3.11] gh-107755: Document the correct default value of slice step (GH-107756) (#108956)

gh-107755: Document the correct default value of slice step (GH-107756)

Document the correct default value of slice step.
(cherry picked from commit 9bf350b066)

Co-authored-by: wim glenn <hey@wimglenn.com>
This commit is contained in:
Miss Islington (bot) 2023-09-06 17:11:53 -07:00 committed by GitHub
parent 5fbd77165b
commit 1f115a8822
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1630,7 +1630,7 @@ are always available. They are listed here in alphabetical order.
.. class:: slice(stop)
slice(start, stop, step=1)
slice(start, stop, step=None)
Return a :term:`slice` object representing the set of indices specified by
``range(start, stop, step)``. The *start* and *step* arguments default to