mirror of https://github.com/python/cpython
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:
parent
3f89b25763
commit
9bf350b066
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue