diff options
author | Fred Drake <fdrake@acm.org> | 2002-09-25 02:34:27 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-09-25 02:34:27 (GMT) |
commit | 111ee3208f546477af15ded1f48031df8126f96e (patch) | |
tree | 17692a4a39aff4f2fe567b5fbf2d236aaf4c8ae7 /Doc/api | |
parent | 5ec22f2d7b7edea609f43a268ab1e5af2f2d7723 (diff) | |
download | cpython-111ee3208f546477af15ded1f48031df8126f96e.zip cpython-111ee3208f546477af15ded1f48031df8126f96e.tar.gz cpython-111ee3208f546477af15ded1f48031df8126f96e.tar.bz2 |
Ok, read the source this time: PyErr_SetObject() does not steal a reference.
Diffstat (limited to 'Doc/api')
-rw-r--r-- | Doc/api/exceptions.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/api/exceptions.tex b/Doc/api/exceptions.tex index 88bf00d..6163666 100644 --- a/Doc/api/exceptions.tex +++ b/Doc/api/exceptions.tex @@ -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, |