Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 99bbb0c

Browse filesBrowse 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
Copy full SHA for 99bbb0c

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎Doc/library/functions.rst

Copy file name to clipboardExpand all lines: Doc/library/functions.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.