summaryrefslogtreecommitdiffstats
path: root/Include/floatobject.h
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-18 18:35:15 (GMT)
committerGeorg Brandl <georg@python.org>2007-03-18 18:35:15 (GMT)
commit428f0641ec34902b0cce2cfdca833c79e6fdab7c (patch)
tree24f29c55a16cb1377b721253ec847c1885c70edb /Include/floatobject.h
parent9091e3a423b1f7a21b1b191c65381abcb5702ab6 (diff)
downloadcpython-428f0641ec34902b0cce2cfdca833c79e6fdab7c.zip
cpython-428f0641ec34902b0cce2cfdca833c79e6fdab7c.tar.gz
cpython-428f0641ec34902b0cce2cfdca833c79e6fdab7c.tar.bz2
Remove the deprecated and useless "pend" argument from
PyFloat_FromString. (fixes bug #1650903)
Diffstat (limited to 'Include/floatobject.h')
-rw-r--r--Include/floatobject.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Include/floatobject.h b/Include/floatobject.h
index c3c18af..b535e34 100644
--- a/Include/floatobject.h
+++ b/Include/floatobject.h
@@ -21,10 +21,8 @@ PyAPI_DATA(PyTypeObject) PyFloat_Type;
#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);