[Python-checkins] gh-95778: Fix `sys.set_int_max_str_digits()` parameter name (GH-96798)

miss-islington webhook-mailer at python.org
Tue Sep 13 12:45:14 EDT 2022


https://github.com/python/cpython/commit/12c8a9edfd13ee53b1dc030e6d9543b73034064b
commit: 12c8a9edfd13ee53b1dc030e6d9543b73034064b
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-09-13T09:44:56-07:00
summary:

gh-95778: Fix `sys.set_int_max_str_digits()` parameter name (GH-96798)


Discovered in https://github.com/python/typeshed/pull/8733
(cherry picked from commit bf5fd492524f1b630a60c98eff8fe5fa66603b54)

Co-authored-by: Alex Waygood <Alex.Waygood at Gmail.com>

files:
M Doc/library/sys.rst

diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 4d6db2cb1b7..aab3f6aa83f 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -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



More information about the Python-checkins mailing list