[3.12] gh-107755: Document the correct default value of slice step (GH-107756) by miss-islington · Pull Request #108955 · python/cpython
.. 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