Issue #22043: time.monotonic() is now always available
threading.Lock.acquire(), threading.RLock.acquire() and socket operations now
use a monotonic clock, instead of the system clock, when a timeout is used.
diff --git a/Lib/sched.py b/Lib/sched.py
index 2e6b00a..409d126 100644
--- a/Lib/sched.py
+++ b/Lib/sched.py
@@ -35,10 +35,7 @@
import threading
except ImportError:
import dummy_threading as threading
-try:
- from time import monotonic as _time
-except ImportError:
- from time import time as _time
+from time import monotonic as _time
__all__ = ["scheduler"]