diff options
author | Skip Montanaro <skip@pobox.com> | 2003-02-03 03:56:36 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2003-02-03 03:56:36 (GMT) |
commit | ae31e9b8c73d8586352c7503bce539a853b42981 (patch) | |
tree | 00bbffe5e3998ced5440805aca4a550bfc706e4f /Doc | |
parent | 49992f9d2560d162a1cc5150fc73cb72fba44007 (diff) | |
download | cpython-ae31e9b8c73d8586352c7503bce539a853b42981.zip cpython-ae31e9b8c73d8586352c7503bce539a853b42981.tar.gz cpython-ae31e9b8c73d8586352c7503bce539a853b42981.tar.bz2 |
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?)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/api/concrete.tex | 5 |
1 files changed, 5 insertions, 0 deletions
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. |