Mercurial > cpython-lru_cache-weakref
diff Include/pyerrors.h @ 75292:b299c4f31ff2
Close issue #6210: Implement PEP 409
| author | Nick Coghlan <ncoghlan@gmail.com> |
|---|---|
| date | Sun, 26 Feb 2012 17:49:52 +1000 |
| parents | d64ac9ab4cd0 |
| children | 6825fd9b00ed |
line wrap: on
line diff
--- a/Include/pyerrors.h Sun Feb 26 09:39:55 2012 +0200 +++ b/Include/pyerrors.h Sun Feb 26 17:49:52 2012 +1000 @@ -105,6 +105,7 @@ /* Cause manipulation (PEP 3134) */ PyAPI_FUNC(PyObject *) PyException_GetCause(PyObject *); PyAPI_FUNC(void) PyException_SetCause(PyObject *, PyObject *); +PyAPI_FUNC(int) _PyException_SetCauseChecked(PyObject *, PyObject *); /* Context manipulation (PEP 3134) */ PyAPI_FUNC(PyObject *) PyException_GetContext(PyObject *);
