mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
gh-108444: Argument Clinic uses PyLong_AsInt() (#108458)
Argument Clinic now uses the new public PyLong_AsInt(), rather than the old name _PyLong_AsInt().
This commit is contained in:
parent
be800f4be7
commit
4e5a7284ee
73 changed files with 467 additions and 466 deletions
4
Modules/_ssl/clinic/cert.c.h
generated
4
Modules/_ssl/clinic/cert.c.h
generated
|
|
@ -59,7 +59,7 @@ _ssl_Certificate_public_bytes(PySSLCertificate *self, PyObject *const *args, Py_
|
|||
if (!noptargs) {
|
||||
goto skip_optional_pos;
|
||||
}
|
||||
format = _PyLong_AsInt(args[0]);
|
||||
format = PyLong_AsInt(args[0]);
|
||||
if (format == -1 && PyErr_Occurred()) {
|
||||
goto exit;
|
||||
}
|
||||
|
|
@ -86,4 +86,4 @@ _ssl_Certificate_get_info(PySSLCertificate *self, PyObject *Py_UNUSED(ignored))
|
|||
{
|
||||
return _ssl_Certificate_get_info_impl(self);
|
||||
}
|
||||
/*[clinic end generated code: output=82efada014f9b7fe input=a9049054013a1b77]*/
|
||||
/*[clinic end generated code: output=72e2bb139c64546c input=a9049054013a1b77]*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue