summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-22 18:17:49 (GMT)
committerFred Drake <fdrake@acm.org>2000-09-22 18:17:49 (GMT)
commitc0e6c5beb2116d0c41c3fb9cb7f12c9abb09a18f (patch)
treea4fe4316349622c7f84390a62a0157554bac58d8
parent3764b6b67ec28e594d03bb95efb9b9ad029f018c (diff)
downloadcpython-c0e6c5beb2116d0c41c3fb9cb7f12c9abb09a18f.zip
cpython-c0e6c5beb2116d0c41c3fb9cb7f12c9abb09a18f.tar.gz
cpython-c0e6c5beb2116d0c41c3fb9cb7f12c9abb09a18f.tar.bz2
PyNumber_Coerce() returns an int, not a PyObject *.
-rw-r--r--Doc/api/api.tex2
1 files changed, 1 insertions, 1 deletions
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