summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorJeremy Paige <ucodery@gmail.com>2022-12-18 07:11:21 (GMT)
committerGitHub <noreply@github.com>2022-12-18 07:11:21 (GMT)
commit1cf3d78c92eb07dc09d15cc2e773b0b1b9436825 (patch)
tree950b24de0922810627b4574db3661184259aeb7f /Python/sysmodule.c
parent0fe61d0838218b18bcff4bf434beba3e8dbcc42b (diff)
downloadcpython-1cf3d78c92eb07dc09d15cc2e773b0b1b9436825.zip
cpython-1cf3d78c92eb07dc09d15cc2e773b0b1b9436825.tar.gz
cpython-1cf3d78c92eb07dc09d15cc2e773b0b1b9436825.tar.bz2
Correct CVE-2020-10735 documentation (#100306)
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 91f5c48..3f0baf9 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1699,12 +1699,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_FromLong(interp->long_state.max_str_digits);