summaryrefslogtreecommitdiffstats
path: root/Demo/threads/sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/threads/sync.py')
-rw-r--r--Demo/threads/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/threads/sync.py b/Demo/threads/sync.py
index 61e1628..90fff2e 100644
--- a/Demo/threads/sync.py
+++ b/Demo/threads/sync.py
@@ -268,7 +268,7 @@
# if there are are no threads waiting to write. (This is a
# weakness of the interface!)
-import thread
+import _thread as thread
class condition:
def __init__(self, lock=None):