summaryrefslogtreecommitdiffstats
path: root/Lib/sched.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sched.py')
-rw-r--r--Lib/sched.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/sched.py b/Lib/sched.py
index 5292fcf..bd1f427 100644
--- a/Lib/sched.py
+++ b/Lib/sched.py
@@ -30,8 +30,11 @@ has another way to reference private data (besides global variables).
import time
import heapq
-import threading
from collections import namedtuple
+try:
+ import threading
+except ImportError:
+ import dummy_threading as threading
__all__ = ["scheduler"]