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 c15f5ef commit f22e949Copy full SHA for f22e949
asyncio/core.py
@@ -18,8 +18,11 @@
18
from adafruit_ticks import ticks_ms as ticks, ticks_diff, ticks_add
19
import sys, select, traceback
20
21
-# Import TaskQueue and Task, unconditionally preferring Python code
22
-from .task import TaskQueue, Task
+# Import TaskQueue and Task, preferring built-in C code over Python code
+try:
23
+ from _asyncio import TaskQueue, Task
24
+except:
25
+ from .task import TaskQueue, Task
26
27
28
################################################################################
0 commit comments