From: Guido van Rossum Date: Wed, 2 Apr 1997 05:22:53 +0000 (+0000) Subject: Added AssertionError. X-Git-Tag: v1.5a1~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6fa4466cec75ca540ebf00a79092415cc1e1485f;p=python Added AssertionError. --- diff --git a/Include/pyerrors.h b/Include/pyerrors.h index bdc17eee96..c3de80a460 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -48,6 +48,7 @@ void PyErr_Restore Py_PROTO((PyObject *, PyObject *, PyObject *)); /* Predefined exceptions */ extern DL_IMPORT(PyObject *) PyExc_AccessError; +extern DL_IMPORT(PyObject *) PyExc_AssertionError; extern DL_IMPORT(PyObject *) PyExc_AttributeError; extern DL_IMPORT(PyObject *) PyExc_EOFError; extern DL_IMPORT(PyObject *) PyExc_FloatingPointError;