https://github.com/python/cpython/commit/8531f5b52ab380c731e7efaabf9d241a726db8fe
commit: 8531f5b52ab380c731e7efaabf9d241a726db8fe
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: AA-Turner <[email protected]>
date: 2025-08-12T00:26:02+01:00
summary:

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

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 d9fb5900e08ee4..9a7b3c4e7c116f 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1717,8 +1717,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