commit | 8b188e6a497bb16b3264f1d376f8399154e21a9d | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Mar 08 19:24:27 2007 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Mar 08 19:24:27 2007 +0000 |
tree | 7dcf5be334761198024b169a4a7a7b3bee22348a | |
parent | 9caadf80a1876a62444167a1137c9c5e71d09106 [diff] |
SF 1676321: empty() returned wrong result
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 @@ 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.