mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Remove the deprecated and useless "pend" argument from
PyFloat_FromString. (fixes bug #1650903)
This commit is contained in:
parent
9091e3a423
commit
428f0641ec
6 changed files with 10 additions and 29 deletions
|
@ -968,7 +968,7 @@ PyNumber_Float(PyObject *o)
|
|||
PyFloatObject *po = (PyFloatObject *)o;
|
||||
return PyFloat_FromDouble(po->ob_fval);
|
||||
}
|
||||
return PyFloat_FromString(o, NULL);
|
||||
return PyFloat_FromString(o);
|
||||
}
|
||||
|
||||
/* Operations on sequences */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue