diff options
| author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2021-12-14 16:48:15 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-14 16:48:15 +0000 |
| commit | d60457a6673cf0263213c2f2be02c633ec2e2038 (patch) | |
| tree | 04461db9079cf30a98c5a4070098f795275aa910 /Include/internal/pycore_pyerrors.h | |
| parent | 850aefc2c651110a784cd5478af9774b1f6287a3 (diff) | |
| download | cpython-git-d60457a6673cf0263213c2f2be02c633ec2e2038.tar.gz | |
bpo-45292: [PEP-654] add except* (GH-29581)
Diffstat (limited to 'Include/internal/pycore_pyerrors.h')
| -rw-r--r-- | Include/internal/pycore_pyerrors.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Include/internal/pycore_pyerrors.h b/Include/internal/pycore_pyerrors.h index 3134afeb86..5e8d2025df 100644 --- a/Include/internal/pycore_pyerrors.h +++ b/Include/internal/pycore_pyerrors.h @@ -92,6 +92,14 @@ PyAPI_FUNC(PyObject *) _PyErr_FormatFromCauseTstate( const char *format, ...); +PyAPI_FUNC(PyObject *) _PyExc_CreateExceptionGroup( + const char *msg, + PyObject *excs); + +PyAPI_FUNC(PyObject *) _PyExc_ExceptionGroupProjection( + PyObject *left, + PyObject *right); + PyAPI_FUNC(int) _PyErr_CheckSignalsTstate(PyThreadState *tstate); PyAPI_FUNC(void) _Py_DumpExtensionModules(int fd, PyInterpreterState *interp); |
