From ae31e9b8c73d8586352c7503bce539a853b42981 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Mon, 3 Feb 2003 03:56:36 +0000 Subject: Add PyFloat_FromString. Left the char **pend argument out of the description since while there, it is useless and ignored, according to Tim's commen. (PyInt_FromString is also not described, but PyLong_FromString is. Is the former deprecated?) --- Doc/api/concrete.tex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 52cc7df..6ac76dc 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -317,6 +317,11 @@ There is no \cfunction{PyNone_Check()} function for the same reason. \versionadded{2.2} \end{cfuncdesc} +\begin{cfuncdesc}{PyObject*}{PyFloat_FromString}{PyObject *str} + Creates a \ctype{PyFloatObject} object based on the string value in + \var{str}, or \NULL{} on failure. +\end{cfuncdesc} + \begin{cfuncdesc}{PyObject*}{PyFloat_FromDouble}{double v} Creates a \ctype{PyFloatObject} object from \var{v}, or \NULL{} on failure. -- cgit v0.12