Skip to content

Commit 9cc9405

Browse files
author
Bilal Al
committed
polish
1 parent 4ff3f9d commit 9cc9405

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

splitio/optional/loaders.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def missing_asyncio_dependencies(*_, **__):
1717
async def _anext(it):
1818
return await it.__anext__()
1919

20-
if sys.version_info.major > 2:
20+
if sys.version_info.major == 3 and sys.version_info.minor < 10:
2121
anext = _anext
2222
else:
23-
anext = "Asyncio is not supported"
23+
anext = anext

0 commit comments

Comments
 (0)