diff options
author | Georg Brandl <georg@python.org> | 2009-05-26 07:51:03 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-05-26 07:51:03 (GMT) |
commit | c38a0002bca5424a1ec3cbc68af4ee8727ba2302 (patch) | |
tree | 96824fabe951ed14d13b9f87957c49d329d14838 /Doc/library/sched.rst | |
parent | 98b52ef7de343713a5c60612ad0a7768156836e6 (diff) | |
download | cpython-c38a0002bca5424a1ec3cbc68af4ee8727ba2302.zip cpython-c38a0002bca5424a1ec3cbc68af4ee8727ba2302.tar.gz cpython-c38a0002bca5424a1ec3cbc68af4ee8727ba2302.tar.bz2 |
Merged revisions 72932 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72932 | georg.brandl | 2009-05-26 09:50:23 +0200 (Di, 26 Mai 2009) | 1 line
#6112: list.remove raises ValueError, not RuntimeError.
........
Diffstat (limited to 'Doc/library/sched.rst')
-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 f93c9b5..0290ec4 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() |