mirror of
https://github.com/python/cpython.git
synced 2025-12-05 09:03:50 +00:00
gh-125897: Mark range function parameters as positional only (#125945)
This commit is contained in:
parent
362692852f
commit
0c83daaf45
1 changed files with 2 additions and 2 deletions
|
|
@ -1729,8 +1729,8 @@ are always available. They are listed here in alphabetical order.
|
||||||
|
|
||||||
|
|
||||||
.. _func-range:
|
.. _func-range:
|
||||||
.. class:: range(stop)
|
.. class:: range(stop, /)
|
||||||
range(start, stop, step=1)
|
range(start, stop, step=1, /)
|
||||||
:noindex:
|
:noindex:
|
||||||
|
|
||||||
Rather than being a function, :class:`range` is actually an immutable
|
Rather than being a function, :class:`range` is actually an immutable
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue