diff options
author | Gregory P. Smith <greg@krypto.org> | 2022-12-24 02:08:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-24 02:08:27 (GMT) |
commit | 88fe8d701af3316c8869ea18ea1c7acec6f68c04 (patch) | |
tree | 3b0614dd8bf71fccd19bb87c1aa9568be344bf0d /Python/sysmodule.c | |
parent | 9c4b8cca09342734eb04fc1093d5952a2317dfb7 (diff) | |
download | cpython-88fe8d701af3316c8869ea18ea1c7acec6f68c04.zip cpython-88fe8d701af3316c8869ea18ea1c7acec6f68c04.tar.gz cpython-88fe8d701af3316c8869ea18ea1c7acec6f68c04.tar.bz2 |
[3.10] Correct CVE-2020-10735 documentation (GH-100306). (#100477)
(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 2b5c9d3..e740cf9 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -1659,12 +1659,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); |