diff options
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 5f7c0ebba6..149b76eea7 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -657,8 +657,9 @@ sys_set_coroutine_wrapper(PyObject *self, PyObject *wrapper) } PyEval_SetCoroutineWrapper(wrapper); } - else + else { PyEval_SetCoroutineWrapper(NULL); + } Py_RETURN_NONE; } |