diff options
author | Guido van Rossum <guido@python.org> | 1997-09-16 18:43:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-09-16 18:43:15 (GMT) |
commit | 0474832d9c6c708d8addd31a989dff772fdfefbf (patch) | |
tree | e6555ed7cb50edcbcb7191fcec122031bc02b898 /Include | |
parent | c56ba3835056dda7b9ef0d406bda0532b52aab38 (diff) | |
download | cpython-0474832d9c6c708d8addd31a989dff772fdfefbf.zip cpython-0474832d9c6c708d8addd31a989dff772fdfefbf.tar.gz cpython-0474832d9c6c708d8addd31a989dff772fdfefbf.tar.bz2 |
Introduce PyExc_Exception as the conceptual root class for all exceptions.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pyerrors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h index ece1f3f..580f6d7 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -53,6 +53,7 @@ void PyErr_NormalizeException Py_PROTO((PyObject**, PyObject**, PyObject**)); /* Predefined exceptions */ +extern DL_IMPORT(PyObject *) PyExc_Exception; extern DL_IMPORT(PyObject *) PyExc_StandardError; extern DL_IMPORT(PyObject *) PyExc_NumberError; extern DL_IMPORT(PyObject *) PyExc_LookupError; |