diff options
author | Gregory P. Smith <greg@krypto.org> | 2023-01-20 22:20:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 22:20:32 (GMT) |
commit | cf71e19297de5e94d534832f179f585c1a1570bb (patch) | |
tree | 039cbb76c618ca5fedfc4eb88b3abe9c0cac3687 /Python/sysmodule.c | |
parent | 5ef90eebfd90147c7e774cd5335ad4fe69a7227c (diff) | |
download | cpython-cf71e19297de5e94d534832f179f585c1a1570bb.zip cpython-cf71e19297de5e94d534832f179f585c1a1570bb.tar.gz cpython-cf71e19297de5e94d534832f179f585c1a1570bb.tar.bz2 |
[3.9] Correct CVE-2020-10735 documentation (GH-100306). (#100697)
(cherry picked from commit 1cf3d78c92eb07dc09d15cc2e773b0b1b9436825)
(cherry picked from commit 88fe8d701af3316c8869ea18ea1c7acec6f68c04)
Co-authored-by: Jeremy Paige <ucodery@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
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 a8f2f02..67df016 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -1643,12 +1643,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); |