From: Fred Drake Date: Fri, 22 Sep 2000 18:17:49 +0000 (+0000) Subject: PyNumber_Coerce() returns an int, not a PyObject *. X-Git-Tag: v2.0b2~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0e6c5beb2116d0c41c3fb9cb7f12c9abb09a18f;p=python PyNumber_Coerce() returns an int, not a PyObject *. --- diff --git a/Doc/api/api.tex b/Doc/api/api.tex index f926facb95..0a475f695a 100644 --- a/Doc/api/api.tex +++ b/Doc/api/api.tex @@ -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