Skip to content

Commit 0c83daa

Browse files
authored
gh-125897: Mark range function parameters as positional only (#125945)
1 parent 3626928 commit 0c83daa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,8 +1729,8 @@ are always available. They are listed here in alphabetical order.
17291729

17301730

17311731
.. _func-range:
1732-
.. class:: range(stop)
1733-
range(start, stop, step=1)
1732+
.. class:: range(stop, /)
1733+
range(start, stop, step=1, /)
17341734
:noindex:
17351735

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

0 commit comments

Comments
 (0)