diff options
| author | Gregory P. Smith <greg@krypto.org> | 2023-01-20 22:20:09 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-20 22:20:09 (GMT) |
| commit | 594ba1901cd0ad49e353bc10a031be439856ccbf (patch) | |
| tree | 01eb9da4e174c4010e73f3091487dca5b850cf21 /Python | |
| parent | 6924cba8bcf6fe4eb6a00a4ff19f47e7b7ce8ea7 (diff) | |
| download | cpython-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')
| -rw-r--r-- | Python/clinic/sysmodule.c.h | 4 | ||||
| -rw-r--r-- | Python/sysmodule.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Python/clinic/sysmodule.c.h b/Python/clinic/sysmodule.c.h index e41a9f3..f6d0122 100644 --- a/Python/clinic/sysmodule.c.h +++ b/Python/clinic/sysmodule.c.h @@ -727,7 +727,7 @@ PyDoc_STRVAR(sys_get_int_max_str_digits__doc__, "get_int_max_str_digits($module, /)\n" "--\n" "\n" -"Set the maximum string digits limit for non-binary int<->str conversions."); +"Return the maximum string digits limit for non-binary int<->str conversions."); #define SYS_GET_INT_MAX_STR_DIGITS_METHODDEF \ {"get_int_max_str_digits", (PyCFunction)sys_get_int_max_str_digits, METH_NOARGS, sys_get_int_max_str_digits__doc__}, @@ -1146,4 +1146,4 @@ sys_getandroidapilevel(PyObject *module, PyObject *Py_UNUSED(ignored)) #ifndef SYS_GETANDROIDAPILEVEL_METHODDEF #define SYS_GETANDROIDAPILEVEL_METHODDEF #endif /* !defined(SYS_GETANDROIDAPILEVEL_METHODDEF) */ -/*[clinic end generated code: output=c41f7fa36ead9409 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=c55dafde3ed70944 input=a9049054013a1b77]*/ 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); |
