summaryrefslogtreecommitdiffstats
path: root/Lib/sched.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sched.py')
-rw-r--r--Lib/sched.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sched.py b/Lib/sched.py
index 11bb0a3..f6a699c 100644
--- a/Lib/sched.py
+++ b/Lib/sched.py
@@ -73,7 +73,7 @@ class scheduler:
"""Remove an event from the queue.
This must be presented the ID as returned by enter().
- If the event is not in the queue, this raises RuntimeError.
+ If the event is not in the queue, this raises ValueError.
"""
self._queue.remove(event)