diff options
author | Raymond Hettinger <python@rcn.com> | 2007-03-08 19:23:25 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2007-03-08 19:23:25 (GMT) |
commit | 154bc7c9bdee408665afce867ea6cce8ec9ef6b6 (patch) | |
tree | 8bcb74e6e7b752fc2172a49a85bebf7070a35aa2 /Lib/sched.py | |
parent | d59ea47e0c7a91f0b9da6abad70db8e89cdadec7 (diff) | |
download | cpython-154bc7c9bdee408665afce867ea6cce8ec9ef6b6.zip cpython-154bc7c9bdee408665afce867ea6cce8ec9ef6b6.tar.gz cpython-154bc7c9bdee408665afce867ea6cce8ec9ef6b6.tar.bz2 |
SF 1676321: empty() returned wrong result
Diffstat (limited to 'Lib/sched.py')
-rw-r--r-- | Lib/sched.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sched.py b/Lib/sched.py index 2f8df05..7c3235e 100644 --- a/Lib/sched.py +++ b/Lib/sched.py @@ -72,7 +72,7 @@ class scheduler: def empty(self): """Check whether the queue is empty.""" - return not not self.queue + return not self.queue def run(self): """Execute events until the queue is empty. |