Kaydet (Commit) 8b188e6a authored tarafından Raymond Hettinger's avatar Raymond Hettinger

SF 1676321: empty() returned wrong result

üst 9caadf80
......@@ -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.
......
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