typedef PyOSErrorObject PyWindowsErrorObject;
#endif
+/* Context manipulation (PEP 3134) */
+
+PyAPI_FUNC(void) _PyErr_ChainExceptions1(PyObject *);
+
/* In exceptions.c */
PyAPI_FUNC(PyObject*) PyUnstable_Exc_PrepReraiseStar(
Py_DEPRECATED(3.12) extern void _PyErr_ChainExceptions(PyObject *, PyObject *, PyObject *);
-// Export for '_zoneinfo' shared extension
-PyAPI_FUNC(void) _PyErr_ChainExceptions1(PyObject *);
-
#ifdef __cplusplus
}
#endif
--- /dev/null
+Restore removed private ``_PyErr_ChainExceptions1()`` function. Patch by
+Victor Stinner.