Skip to content

Commit 735ac97

Browse files
[3.14] gh-125897: Mark range function parameters as positional only (GH-125945) (#137652)
Co-authored-by: Konstantin Baikov <[email protected]>
1 parent 4bba1a2 commit 735ac97

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
@@ -1732,8 +1732,8 @@ are always available. They are listed here in alphabetical order.
17321732

17331733

17341734
.. _func-range:
1735-
.. class:: range(stop)
1736-
range(start, stop, step=1)
1735+
.. class:: range(stop, /)
1736+
range(start, stop, step=1, /)
17371737
:noindex:
17381738

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

0 commit comments

Comments
 (0)