From c0e6c5beb2116d0c41c3fb9cb7f12c9abb09a18f Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 22 Sep 2000 18:17:49 +0000 Subject: PyNumber_Coerce() returns an int, not a PyObject *. --- Doc/api/api.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/api/api.tex b/Doc/api/api.tex index f926fac..0a475f6 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 -- cgit v0.12