Kaydet (Commit) 111ee320 authored tarafından Fred Drake's avatar Fred Drake

Ok, read the source this time: PyErr_SetObject() does not steal a reference.

üst 5ec22f2d
......@@ -124,7 +124,7 @@ for each thread.
\begin{cfuncdesc}{void}{PyErr_SetObject}{PyObject *type, PyObject *value}
This function is similar to \cfunction{PyErr_SetString()} but lets
you specify an arbitrary Python object for the ``value'' of the
exception. One reference to \var{value} is stolen.
exception.
\end{cfuncdesc}
\begin{cfuncdesc}{PyObject*}{PyErr_Format}{PyObject *exception,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment