We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feec759 commit ef4aff1Copy full SHA for ef4aff1
Doc/reference/datamodel.rst
@@ -326,9 +326,11 @@ Some sequences also support "extended slicing" with a third *step* parameter:
326
``0 <= step``, and ``stop < i <= start`` for ``step < 0``.
327
328
Slicing parameters can be omitted:
329
+
330
* When *step* is omitted, it defaults to 1.
331
* When *start* is omitted, the selection starts from the 1st index depending on
-the *step* direction (index 0 for ``0 < step``, subscript -1 for ``step < 0``).
332
+ the *step* direction (index 0 for ``0 <= step``, subscript -1 for
333
+ ``step < 0``).
334
* When *end* is omitted, the selection ends when there isn't any element left.
335
336
Sequences are distinguished according to their mutability:
0 commit comments