mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
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
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue