Mercurial > cpython-lru_cache-weakref
diff Include/pyerrors.h @ 35298:b2fe5f8fcfdd legacy-trunk
PEP 342 implementation. Per Guido's comments, the generator throw()
method still needs to support string exceptions, and allow None for the
third argument. Documentation updates are needed, too.
| author | Phillip J. Eby <pje@telecommunity.com> |
|---|---|
| date | Tue, 02 Aug 2005 00:46:46 +0000 |
| parents | 6641d0542592 |
| children | ce0995e01d3c |
line wrap: on
line diff
--- a/Include/pyerrors.h Mon Aug 01 21:39:29 2005 +0000 +++ b/Include/pyerrors.h Tue Aug 02 00:46:46 2005 +0000 @@ -25,6 +25,7 @@ PyAPI_DATA(PyObject *) PyExc_Exception; PyAPI_DATA(PyObject *) PyExc_StopIteration; +PyAPI_DATA(PyObject *) PyExc_GeneratorExit; PyAPI_DATA(PyObject *) PyExc_StandardError; PyAPI_DATA(PyObject *) PyExc_ArithmeticError; PyAPI_DATA(PyObject *) PyExc_LookupError;
