diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-06-01 16:15:23 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-06-01 16:15:23 (GMT) |
commit | d8cf382ee70c9cf4fb71979352a70133a2ad9cb2 (patch) | |
tree | 5e09db6e3564bcdc13c76b6ec02db40a6b77e742 /Python/sysmodule.c | |
parent | 0969a9f8abcf98bb43ea77b1dd050426adcfb4f7 (diff) | |
download | cpython-d8cf382ee70c9cf4fb71979352a70133a2ad9cb2.zip cpython-d8cf382ee70c9cf4fb71979352a70133a2ad9cb2.tar.gz cpython-d8cf382ee70c9cf4fb71979352a70133a2ad9cb2.tar.bz2 |
Issue 24017: Make PyEval_(Set|Get)CoroutineWrapper private
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 149b76e..f600baf 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -655,10 +655,10 @@ sys_set_coroutine_wrapper(PyObject *self, PyObject *wrapper) Py_TYPE(wrapper)->tp_name); return NULL; } - PyEval_SetCoroutineWrapper(wrapper); + _PyEval_SetCoroutineWrapper(wrapper); } else { - PyEval_SetCoroutineWrapper(NULL); + _PyEval_SetCoroutineWrapper(NULL); } Py_RETURN_NONE; } @@ -672,7 +672,7 @@ Set a wrapper for coroutine objects." static PyObject * sys_get_coroutine_wrapper(PyObject *self, PyObject *args) { - PyObject *wrapper = PyEval_GetCoroutineWrapper(); + PyObject *wrapper = _PyEval_GetCoroutineWrapper(); if (wrapper == NULL) { wrapper = Py_None; } |