Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae31e9b

Browse files
author
Skip Montanaro
committed
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?)
1 parent 49992f9 commit ae31e9b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/api/concrete.tex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,11 @@ \subsection{Floating Point Objects \label{floatObjects}}
317317
\versionadded{2.2}
318318
\end{cfuncdesc}
319319

320+
\begin{cfuncdesc}{PyObject*}{PyFloat_FromString}{PyObject *str}
321+
Creates a \ctype{PyFloatObject} object based on the string value in
322+
\var{str}, or \NULL{} on failure.
323+
\end{cfuncdesc}
324+
320325
\begin{cfuncdesc}{PyObject*}{PyFloat_FromDouble}{double v}
321326
Creates a \ctype{PyFloatObject} object from \var{v}, or \NULL{} on
322327
failure.

0 commit comments

Comments
 (0)