Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow any sequence in gen.WaitAll, not just lists.

  • Loading branch information...
commit 2f9146016432dde6e3326d633fabde6fb518a7f4 1 parent 39de229
@bdarnell bdarnell authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  tornado/gen.py
View
3  tornado/gen.py
@@ -89,7 +89,7 @@ def start(self, runner):
def is_ready(self):
"""Called by the runner to determine whether to resume the generator.
- May be called repeatedly until it returns True.
+ Returns a boolean; may be called more than once.
"""
raise NotImplementedError()
@@ -150,7 +150,6 @@ class WaitAll(YieldPoint):
a list of results in the same order.
"""
def __init__(self, keys):
- assert isinstance(keys, list)
self.keys = keys
def start(self, runner):
Please sign in to comment.
Something went wrong with that request. Please try again.