mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Update Argument Clinic generated code for bpo-29878. (#1001)
This commit is contained in:
parent
5affd23e6f
commit
bae6881b42
4 changed files with 6 additions and 6 deletions
|
@ -171,7 +171,7 @@ static PyObject *
|
|||
float_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
|
||||
{
|
||||
PyObject *return_value = NULL;
|
||||
PyObject *x = Py_False;
|
||||
PyObject *x = _PyLong_Zero;
|
||||
|
||||
if ((type == &PyFloat_Type) &&
|
||||
!_PyArg_NoKeywords("float", kwargs)) {
|
||||
|
@ -313,4 +313,4 @@ float___format__(PyObject *self, PyObject *arg)
|
|||
exit:
|
||||
return return_value;
|
||||
}
|
||||
/*[clinic end generated code: output=a3dafb0f6c6f1514 input=a9049054013a1b77]*/
|
||||
/*[clinic end generated code: output=dc6b0b67a7e40c93 input=a9049054013a1b77]*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue