diff options
author | Gregory P. Smith <greg@krypto.org> | 2022-12-24 02:07:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-24 02:07:50 (GMT) |
commit | a852c5f8ee19f996335841a78b73549d7d4117c4 (patch) | |
tree | ed36acb46fd3e5aabe026baa1a00f04ea552f4a6 /Python/sysmodule.c | |
parent | 9477594374ba58bc00a95d99d0e2e22cccd02f5e (diff) | |
download | cpython-a852c5f8ee19f996335841a78b73549d7d4117c4.zip cpython-a852c5f8ee19f996335841a78b73549d7d4117c4.tar.gz cpython-a852c5f8ee19f996335841a78b73549d7d4117c4.tar.bz2 |
[3.11] Correct CVE-2020-10735 documentation (GH-100306). (#100476)
(cherry picked from commit 1cf3d78c92eb07dc09d15cc2e773b0b1b9436825)
Co-authored-by: Jeremy Paige <ucodery@gmail.com>
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 0ecfd77..68a835a 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -1627,12 +1627,12 @@ sys_mdebug_impl(PyObject *module, int flag) /*[clinic input] sys.get_int_max_str_digits -Set the maximum string digits limit for non-binary int<->str conversions. +Return the maximum string digits limit for non-binary int<->str conversions. [clinic start generated code]*/ static PyObject * sys_get_int_max_str_digits_impl(PyObject *module) -/*[clinic end generated code: output=0042f5e8ae0e8631 input=8dab13e2023e60d5]*/ +/*[clinic end generated code: output=0042f5e8ae0e8631 input=61bf9f99bc8b112d]*/ { PyInterpreterState *interp = _PyInterpreterState_GET(); return PyLong_FromSsize_t(interp->int_max_str_digits); |