diff options
author | Georg Brandl <georg@python.org> | 2009-05-26 07:50:23 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-05-26 07:50:23 (GMT) |
commit | 4ee8282229ec9b91f95f4c1f449bae85ee6941fe (patch) | |
tree | dabf2ac029db55e22e348f6c94606bb4ef60d738 /Doc | |
parent | 57bef68bc0537797a23af92611e497bf3314c81c (diff) | |
download | cpython-4ee8282229ec9b91f95f4c1f449bae85ee6941fe.zip cpython-4ee8282229ec9b91f95f4c1f449bae85ee6941fe.tar.gz cpython-4ee8282229ec9b91f95f4c1f449bae85ee6941fe.tar.bz2 |
#6112: list.remove raises ValueError, not RuntimeError.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/sched.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/sched.rst b/Doc/library/sched.rst index 2283077..51b9d3f 100644 --- a/Doc/library/sched.rst +++ b/Doc/library/sched.rst @@ -100,7 +100,7 @@ Scheduler Objects .. method:: scheduler.cancel(event) Remove the event from the queue. If *event* is not an event currently in the - queue, this method will raise a :exc:`RuntimeError`. + queue, this method will raise a :exc:`ValueError`. .. method:: scheduler.empty() |