]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-95778: Fix `sys.set_int_max_str_digits()` parameter name (#96798)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Tue, 13 Sep 2022 15:22:50 +0000 (16:22 +0100)
committerGitHub <noreply@github.com>
Tue, 13 Sep 2022 15:22:50 +0000 (08:22 -0700)
Discovered in https://github.com/python/typeshed/pull/8733

Doc/library/sys.rst

index cc41b996d2dad5f2b269d31310a677f7d3cead6e..c6be12c14b550a695ddf388cbacc1f9b819c4b14 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