We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dc8cc9 commit ed83f74Copy full SHA for ed83f74
taskgroup/tasks.py
@@ -19,10 +19,10 @@
19
20
if sys.version_info >= (3, 12):
21
_TaskCompatibleCoro: TypeAlias = collections.abc.Coroutine[Any, Any, _T_co]
22
-elif sys.version_info >= (3, 9):
+else:
23
_TaskCompatibleCoro: TypeAlias = (
24
- collectiona.abc.Generator[_TaskYieldType, None, _T_co]
25
- | Coroutine[Any, Any, _T_co]
+ collections.abc.Generator[_TaskYieldType, None, _T_co]
+ | collections.abc.Coroutine[Any, Any, _T_co]
26
)
27
28
0 commit comments