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

Document the correct default value of slice step.
This commit is contained in:
wim glenn 2023-09-05 14:22:27 -05:00 committed by GitHub
parent 3f89b25763
commit 9bf350b066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1631,7 +1631,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