mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
PyNumber_Coerce() returns an int, not a PyObject *.
This commit is contained in:
parent
3764b6b67e
commit
c0e6c5beb2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue