]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-95778: Fix `sys.set_int_max_str_digits()` parameter name (GH-96798)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 13 Sep 2022 16:45:18 +0000 (09:45 -0700)
committerGitHub <noreply@github.com>
Tue, 13 Sep 2022 16:45:18 +0000 (09:45 -0700)
Discovered in https://github.com/python/typeshed/pull/8733
(cherry picked from commit bf5fd492524f1b630a60c98eff8fe5fa66603b54)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Doc/library/sys.rst

index 55214cfa714a77c0c67f461e45e9c2cb83615257..b39ba5ff7fe69b64855a5d6e7c7e29abae8ebaf0 100644 (file)
@@ -1278,7 +1278,7 @@ always available.
 
    .. availability:: Unix.
 
-.. function:: set_int_max_str_digits(n)
+.. function:: set_int_max_str_digits(maxdigits)
 
    Set the :ref:`integer string conversion length limitation
    <int_max_str_digits>` used by this interpreter. See also