]> granicus.if.org Git - python/commitdiff
Add PyFloat_FromString. Left the char **pend argument out of the
authorSkip Montanaro <skip@pobox.com>
Mon, 3 Feb 2003 03:56:36 +0000 (03:56 +0000)
committerSkip Montanaro <skip@pobox.com>
Mon, 3 Feb 2003 03:56:36 +0000 (03:56 +0000)
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

index 52cc7df3533f8e6d90d08e606ee167bfbc02d462..6ac76dc48500d964996f5136867ea99d12e1ec71 100644 (file)
@@ -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.