Skip to content

Commit 99bbb0c

Browse files
committed
gn-125897: FIx the range function refering to step as a kwarg
Addresses the #125897 documentation discrepancy that the range function accepts step as a kwarg
1 parent 500f533 commit 99bbb0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1714,7 +1714,7 @@ are always available. They are listed here in alphabetical order.
17141714

17151715
.. _func-range:
17161716
.. class:: range(stop)
1717-
range(start, stop, step=1)
1717+
range(start, stop, step=1, /)
17181718
:noindex:
17191719

17201720
Rather than being a function, :class:`range` is actually an immutable

0 commit comments

Comments
 (0)