Remove the deprecated and useless "pend" argument from

PyFloat_FromString. (fixes bug #1650903)
This commit is contained in:
Georg Brandl 2007-03-18 18:35:15 +00:00
parent 9091e3a423
commit 428f0641ec
6 changed files with 10 additions and 29 deletions

View file

@ -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 */