Skip to content

Commit ef4aff1

Browse files
Fix formatting of previous commit.
1 parent feec759 commit ef4aff1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/reference/datamodel.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,11 @@ Some sequences also support "extended slicing" with a third *step* parameter:
326326
``0 <= step``, and ``stop < i <= start`` for ``step < 0``.
327327

328328
Slicing parameters can be omitted:
329+
329330
* When *step* is omitted, it defaults to 1.
330331
* When *start* is omitted, the selection starts from the 1st index depending on
331-
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``).
332334
* When *end* is omitted, the selection ends when there isn't any element left.
333335

334336
Sequences are distinguished according to their mutability:

0 commit comments

Comments
 (0)