Commit 8b188e6a authored by Raymond Hettinger's avatar Raymond Hettinger

SF 1676321: empty() returned wrong result

parent 9caadf80
...@@ -72,7 +72,7 @@ class scheduler: ...@@ -72,7 +72,7 @@ class scheduler:
def empty(self): def empty(self):
"""Check whether the queue is empty.""" """Check whether the queue is empty."""
return not not self.queue return not self.queue
def run(self): def run(self):
"""Execute events until the queue is empty. """Execute events until the queue is empty.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment