Skip to content

Commit 0c83a15

Browse files
authored
Update functions.rst
Paragraph should not be under `slice.step`. It applies to the whole class.
1 parent aadda87 commit 0c83a15

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/functions.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1843,10 +1843,10 @@ are always available. They are listed here in alphabetical order.
18431843
.. attribute:: slice.stop
18441844
.. attribute:: slice.step
18451845

1846-
Slice objects have read-only data attributes :attr:`!start`,
1847-
:attr:`!stop`, and :attr:`!step` which merely return the argument
1848-
values (or their default). They have no other explicit functionality;
1849-
however, they are used by NumPy and other third-party packages.
1846+
Slice objects have read-only data attributes :attr:`!start`,
1847+
:attr:`!stop`, and :attr:`!step` which merely return the argument
1848+
values (or their default). They have no other explicit functionality;
1849+
however, they are used by NumPy and other third-party packages.
18501850

18511851
Slice objects are also generated when extended indexing syntax is used. For
18521852
example: ``a[start:stop:step]`` or ``a[start:stop, i]``. See

0 commit comments

Comments
 (0)