https://github.com/python/cpython/commit/735ac97e160e7015c3f2465a3d993cb5d8c9e4f9
commit: 735ac97e160e7015c3f2465a3d993cb5d8c9e4f9
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2025-09-11T12:15:24+03:00
summary:

[3.14] gh-125897: Mark range function parameters as positional only (GH-125945) 
(#137652)

Co-authored-by: Konstantin Baikov <[email protected]>

files:
M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 33840c3414fd44..4fb0414c89683f 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1732,8 +1732,8 @@ are always available.  They are listed here in 
alphabetical order.
 
 
 .. _func-range:
-.. class:: range(stop)
-           range(start, stop, step=1)
+.. class:: range(stop, /)
+           range(start, stop, step=1, /)
    :noindex:
 
    Rather than being a function, :class:`range` is actually an immutable

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to