mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-132775: Use _PyFunction_VerifyStateless() and _PyCode_VerifyStateless() (gh-134439)
This commit is contained in:
parent
fb68776591
commit
a66bae8bb5
3 changed files with 70 additions and 76 deletions
|
@ -94,13 +94,13 @@ extern void _PyErr_Fetch(
|
|||
PyObject **value,
|
||||
PyObject **traceback);
|
||||
|
||||
extern PyObject* _PyErr_GetRaisedException(PyThreadState *tstate);
|
||||
PyAPI_FUNC(PyObject*) _PyErr_GetRaisedException(PyThreadState *tstate);
|
||||
|
||||
PyAPI_FUNC(int) _PyErr_ExceptionMatches(
|
||||
PyThreadState *tstate,
|
||||
PyObject *exc);
|
||||
|
||||
extern void _PyErr_SetRaisedException(PyThreadState *tstate, PyObject *exc);
|
||||
PyAPI_FUNC(void) _PyErr_SetRaisedException(PyThreadState *tstate, PyObject *exc);
|
||||
|
||||
extern void _PyErr_Restore(
|
||||
PyThreadState *tstate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue