Skip to content

Commit 7474d96

Browse files
committed
cython: Make async def coroutines awaitable in cythonized coroutines
1 parent e7bedb8 commit 7474d96

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
@@ -161,7 +161,7 @@ def _patch_cfile(self, cfile):
161161
r'''
162162
offsetof(__pyx_CoroutineObject, gi_weakreflist),
163163
__Pyx_Coroutine_await, /* tp_iter */
164-
0,
164+
(iternextfunc) __Pyx_Generator_Next, /* tp_iternext */
165165
__pyx_Coroutine_methods,
166166
__pyx_Coroutine_memberlist,
167167
__pyx_Coroutine_getsets,

0 commit comments

Comments
 (0)