mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
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. ........
This commit is contained in:
parent
98b52ef7de
commit
c38a0002bc
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue