mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Introduce PyExc_Exception as the conceptual root class for all exceptions.
This commit is contained in:
parent
c56ba38350
commit
0474832d9c
2 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue