summaryrefslogtreecommitdiffstats
path: root/Lib/sched.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-05-26 07:50:23 (GMT)
committerGeorg Brandl <georg@python.org>2009-05-26 07:50:23 (GMT)
commit4ee8282229ec9b91f95f4c1f449bae85ee6941fe (patch)
treedabf2ac029db55e22e348f6c94606bb4ef60d738 /Lib/sched.py
parent57bef68bc0537797a23af92611e497bf3314c81c (diff)
downloadcpython-4ee8282229ec9b91f95f4c1f449bae85ee6941fe.zip
cpython-4ee8282229ec9b91f95f4c1f449bae85ee6941fe.tar.gz
cpython-4ee8282229ec9b91f95f4c1f449bae85ee6941fe.tar.bz2
#6112: list.remove raises ValueError, not RuntimeError.
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 aecdb2a..f0da829 100644
--- a/Lib/sched.py
+++ b/Lib/sched.py
@@ -67,7 +67,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)