mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue