diff options
| author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2021-10-23 00:13:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-23 00:13:46 +0100 |
| commit | f30ad65dbf3c6b1b5eec14dc954d65ef32327857 (patch) | |
| tree | 410d8eb9335a1e405cbc7092e8f5a36e592ad712 /Include/cpython/pyerrors.h | |
| parent | 4bc5473a42c5eae0928430930b897209492e849d (diff) | |
| download | cpython-git-f30ad65dbf3c6b1b5eec14dc954d65ef32327857.tar.gz | |
bpo-45292: [PEP 654] add the ExceptionGroup and BaseExceptionGroup classes (GH-28569)
Diffstat (limited to 'Include/cpython/pyerrors.h')
| -rw-r--r-- | Include/cpython/pyerrors.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/cpython/pyerrors.h b/Include/cpython/pyerrors.h index a3ec5afdb7..28ab565dde 100644 --- a/Include/cpython/pyerrors.h +++ b/Include/cpython/pyerrors.h @@ -17,6 +17,12 @@ typedef struct { typedef struct { PyException_HEAD PyObject *msg; + PyObject *excs; +} PyBaseExceptionGroupObject; + +typedef struct { + PyException_HEAD + PyObject *msg; PyObject *filename; PyObject *lineno; PyObject *offset; |
