summaryrefslogtreecommitdiffstats
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-09-16 18:43:15 (GMT)
committerGuido van Rossum <guido@python.org>1997-09-16 18:43:15 (GMT)
commit0474832d9c6c708d8addd31a989dff772fdfefbf (patch)
treee6555ed7cb50edcbcb7191fcec122031bc02b898 /Include/pyerrors.h
parentc56ba3835056dda7b9ef0d406bda0532b52aab38 (diff)
downloadcpython-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/pyerrors.h')
-rw-r--r--Include/pyerrors.h1
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;