summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2023-01-20 22:20:09 (GMT)
committerGitHub <noreply@github.com>2023-01-20 22:20:09 (GMT)
commit594ba1901cd0ad49e353bc10a031be439856ccbf (patch)
tree01eb9da4e174c4010e73f3091487dca5b850cf21 /Python/sysmodule.c
parent6924cba8bcf6fe4eb6a00a4ff19f47e7b7ce8ea7 (diff)
downloadcpython-594ba1901cd0ad49e353bc10a031be439856ccbf.zip
cpython-594ba1901cd0ad49e353bc10a031be439856ccbf.tar.gz
cpython-594ba1901cd0ad49e353bc10a031be439856ccbf.tar.bz2
[3.8] Correct CVE-2020-10735 documentation (GH-100306) (#100698)
(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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index eb3245a..a479267 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1615,12 +1615,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);