]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-125897: Mark range function parameters as positional only (GH-125945) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 11 Sep 2025 09:15:24 +0000 (11:15 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Sep 2025 09:15:24 +0000 (12:15 +0300)
Co-authored-by: Konstantin Baikov <konstantin.baikov@gmail.com>
Doc/library/functions.rst

index 33840c3414fd445d1ce4ada252f6220949d3a5bc..4fb0414c89683f2b1c43ac4f3196af045892a7e1 100644 (file)
@@ -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