Mercurial > cpython-lru_cache-weakref
diff Include/floatobject.h @ 41229:1f843890a4e6
Remove the deprecated and useless "pend" argument from
PyFloat_FromString. (fixes bug #1650903)
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sun, 18 Mar 2007 18:35:15 +0000 |
| parents | 195f689af5af |
| children | e70cdce0e8b2 |
line wrap: on
line diff
--- a/Include/floatobject.h Sun Mar 18 16:10:35 2007 +0000 +++ b/Include/floatobject.h Sun Mar 18 18:35:15 2007 +0000 @@ -21,10 +21,8 @@ #define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type) #define PyFloat_CheckExact(op) ((op)->ob_type == &PyFloat_Type) -/* Return Python float from string PyObject. Second argument ignored on - input, and, if non-NULL, NULL is stored into *junk (this tried to serve a - purpose once but can't be made to work as intended). */ -PyAPI_FUNC(PyObject *) PyFloat_FromString(PyObject*, char** junk); +/* Return Python float from string PyObject. */ +PyAPI_FUNC(PyObject *) PyFloat_FromString(PyObject*); /* Return Python float from C double. */ PyAPI_FUNC(PyObject *) PyFloat_FromDouble(double);
