mirror of
https://github.com/python/cpython.git
synced 2025-09-01 06:28:36 +00:00
Fix warnings for PyEval_GetCoroutineWrapper
This commit is contained in:
parent
7544508f02
commit
f487a005d6
2 changed files with 2 additions and 2 deletions
|
@ -4414,7 +4414,7 @@ PyEval_SetCoroutineWrapper(PyObject *wrapper)
|
|||
}
|
||||
|
||||
PyObject *
|
||||
PyEval_GetCoroutineWrapper()
|
||||
PyEval_GetCoroutineWrapper(void)
|
||||
{
|
||||
PyThreadState *tstate = PyThreadState_GET();
|
||||
return tstate->coroutine_wrapper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue