Mercurial > cpython-lru_cache-weakref
diff Doc/api/api.tex @ 14769:aa18e5239b46 legacy-trunk
PyNumber_Coerce() returns an int, not a PyObject *.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 22 Sep 2000 18:17:49 +0000 |
| parents | 2b9a890162b0 |
| children | 3c01f921c453 |
line wrap: on
line diff
--- a/Doc/api/api.tex Fri Sep 22 17:55:32 2000 +0000 +++ b/Doc/api/api.tex Fri Sep 22 18:17:49 2000 +0000 @@ -1742,7 +1742,7 @@ \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
