From c38a0002bca5424a1ec3cbc68af4ee8727ba2302 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 26 May 2009 07:51:03 +0000 Subject: 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. ........ --- Lib/sched.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/sched.py') diff --git a/Lib/sched.py b/Lib/sched.py index 11bb0a3a18..f6a699c916 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) -- cgit v1.2.1