Skip to content

Commit 330dbca

Browse files
committed
cython: Make async def coroutines awaitable in cythonized coroutines
1 parent e2404e1 commit 330dbca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def _patch_cfile(self, cfile):
125125
r'''
126126
offsetof(__pyx_CoroutineObject, gi_weakreflist),
127127
__Pyx_Coroutine_await, /* tp_iter */
128-
0,
128+
(iternextfunc) __Pyx_Generator_Next, /* tp_iternext */
129129
__pyx_Coroutine_methods,
130130
__pyx_Coroutine_memberlist,
131131
__pyx_Coroutine_getsets,

0 commit comments

Comments
 (0)