summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-18 18:35:15 +0000
committerGeorg Brandl <georg@python.org>2007-03-18 18:35:15 +0000
commit3938418610413e9eb722be662b0ea9c5be31157a (patch)
treefcb38c3d29186dc1bd16e22e15c727edc99270a3 /Include
parent4bc67442d9acb5df0ae72cc0541f5be1adb312f9 (diff)
downloadcpython-3938418610413e9eb722be662b0ea9c5be31157a.tar.gz
Remove the deprecated and useless "pend" argument from
PyFloat_FromString. (fixes bug #1650903)
Diffstat (limited to 'Include')
-rw-r--r--Include/floatobject.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Include/floatobject.h b/Include/floatobject.h
index c3c18afcd7..b535e34f34 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);