diff options
| author | Fred Drake <fdrake@acm.org> | 2000-09-22 18:17:49 +0000 |
|---|---|---|
| committer | Fred Drake <fdrake@acm.org> | 2000-09-22 18:17:49 +0000 |
| commit | c0e6c5beb2116d0c41c3fb9cb7f12c9abb09a18f (patch) | |
| tree | a4fe4316349622c7f84390a62a0157554bac58d8 | |
| parent | 3764b6b67ec28e594d03bb95efb9b9ad029f018c (diff) | |
| download | cpython-git-c0e6c5beb2116d0c41c3fb9cb7f12c9abb09a18f.tar.gz | |
PyNumber_Coerce() returns an int, not a PyObject *.
| -rw-r--r-- | Doc/api/api.tex | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
