summaryrefslogtreecommitdiffstats
path: root/Demo/threads/Coroutine.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/threads/Coroutine.py')
-rw-r--r--Demo/threads/Coroutine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/threads/Coroutine.py b/Demo/threads/Coroutine.py
index 4a155f8..e7d882d 100644
--- a/Demo/threads/Coroutine.py
+++ b/Demo/threads/Coroutine.py
@@ -66,7 +66,7 @@
# current implementation consumes a thread for each coroutine that
# may be resumed.
-import thread
+import _thread as thread
import sync
class _CoEvent: