]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-125897: Mark range function parameters as positional only (GH-125945) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 11 Aug 2025 23:26:02 +0000 (01:26 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Aug 2025 23:26:02 +0000 (00:26 +0100)
Co-authored-by: Konstantin Baikov <konstantin.baikov@gmail.com>
Doc/library/functions.rst

index d9fb5900e08ee4e4e0ee4eeb297d613c715918a3..9a7b3c4e7c116fd323940f3436d5fbfa9d37d8e1 100644 (file)
@@ -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