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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy