diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-06-02 22:43:51 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-06-02 22:43:51 (GMT) |
commit | aab3c4a2110c3184ac0e9fc843fb1f3e07fbaf53 (patch) | |
tree | 25366f646da729ac7c4f351f5cbacc763b866ac6 /Include/ceval.h | |
parent | 231d90609b026dc709efd16d5bda610fbb12ebad (diff) | |
download | cpython-aab3c4a2110c3184ac0e9fc843fb1f3e07fbaf53.zip cpython-aab3c4a2110c3184ac0e9fc843fb1f3e07fbaf53.tar.gz cpython-aab3c4a2110c3184ac0e9fc843fb1f3e07fbaf53.tar.bz2 |
Issue 24342: Let wrapper set by sys.set_coroutine_wrapper fail gracefully
Diffstat (limited to 'Include/ceval.h')
-rw-r--r-- | Include/ceval.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/ceval.h b/Include/ceval.h index e558594..9f4d3f1 100644 --- a/Include/ceval.h +++ b/Include/ceval.h @@ -23,8 +23,9 @@ PyAPI_FUNC(PyObject *) PyEval_CallMethod(PyObject *obj, #ifndef Py_LIMITED_API PyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *); PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *); -PyAPI_FUNC(void) _PyEval_SetCoroutineWrapper(PyObject *wrapper); +PyAPI_FUNC(void) _PyEval_SetCoroutineWrapper(PyObject *); PyAPI_FUNC(PyObject *) _PyEval_GetCoroutineWrapper(void); +PyAPI_FUNC(PyObject *) _PyEval_ApplyCoroutineWrapper(PyObject *); #endif struct _frame; /* Avoid including frameobject.h */ |