summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index bf9a96f..5f7c0eb 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -655,12 +655,10 @@ sys_set_coroutine_wrapper(PyObject *self, PyObject *wrapper)
Py_TYPE(wrapper)->tp_name);
return NULL;
}
-
PyEval_SetCoroutineWrapper(wrapper);
}
else
PyEval_SetCoroutineWrapper(NULL);
- Py_INCREF(Py_None);
Py_RETURN_NONE;
}