]> granicus.if.org Git - python/commitdiff
PyNumber_Coerce() returns an int, not a PyObject *.
authorFred Drake <fdrake@acm.org>
Fri, 22 Sep 2000 18:17:49 +0000 (18:17 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 22 Sep 2000 18:17:49 +0000 (18:17 +0000)
Doc/api/api.tex

index f926facb95be4db6a30e51a9725ec71cd3a3f1da..0a475f695a619912faddec0d960611589c9c3d2b 100644 (file)
@@ -1742,7 +1742,7 @@ it.  This is the equivalent of the Python expression \samp{\var{o1} |=
 \var{o2}}.
 \end{cfuncdesc}
 
-\begin{cfuncdesc}{PyObject*}{PyNumber_Coerce}{PyObject **p1, PyObject **p2}
+\begin{cfuncdesc}{int}{PyNumber_Coerce}{PyObject **p1, PyObject **p2}
 This function takes the addresses of two variables of type
 \ctype{PyObject*}.  If the objects pointed to by \code{*\var{p1}} and
 \code{*\var{p2}} have the same type, increment their reference count