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?)
This commit is contained in:
parent
49992f9d25
commit
ae31e9b8c7
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue