mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
gh-102755: PyErr_DisplayException only in ABI >= 3.12. Tests cover PyErr_Display as well (GH-102849)
This commit is contained in:
parent
82eb9469e7
commit
5c471f3f2a
3 changed files with 31 additions and 4 deletions
|
@ -12,7 +12,10 @@ PyAPI_FUNC(PyObject *) Py_CompileString(const char *, const char *, int);
|
|||
PyAPI_FUNC(void) PyErr_Print(void);
|
||||
PyAPI_FUNC(void) PyErr_PrintEx(int);
|
||||
PyAPI_FUNC(void) PyErr_Display(PyObject *, PyObject *, PyObject *);
|
||||
|
||||
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000
|
||||
PyAPI_FUNC(void) PyErr_DisplayException(PyObject *);
|
||||
#endif
|
||||
|
||||
|
||||
/* Stuff with no proper home (yet) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue