]> 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:44:56 +0000 (09:44 -0700)
committerPablo Galindo <pablogsal@gmail.com>
Sat, 22 Oct 2022 19:06:16 +0000 (20:06 +0100)
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 4d6db2cb1b71d9c0c2975a192a6729d3059c5f4b..aab3f6aa83fced96b9459dfa51ba309376fe29b3 100644 (file)
@@ -1331,7 +1331,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