mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -1619,7 +1619,7 @@ Convert a string or number to a floating point number, if possible.
|
|||
|
||||
static PyObject *
|
||||
float_new_impl(PyTypeObject *type, PyObject *x)
|
||||
/*[clinic end generated code: output=ccf1e8dc460ba6ba input=c98d8e811ad2037a]*/
|
||||
/*[clinic end generated code: output=ccf1e8dc460ba6ba input=540ee77c204ff87a]*/
|
||||
{
|
||||
if (type != &PyFloat_Type)
|
||||
return float_subtype_new(type, x); /* Wimp out */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue