mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Correct CVE-2020-10735 documentation (#100306)
This commit is contained in:
parent
0fe61d0838
commit
1cf3d78c92
3 changed files with 7 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue