update the statement of testing if a handler is a list or tuple #693

Merged
merged 1 commit into from Apr 14, 2013

Conversation

Projects
None yet
2 participants
Contributor

apieceofredcloth commented Mar 11, 2013

A small patch.
I think it's not necessary to limit the type of handler definition to tuple, list is OK too.
And why dont' use tuple directly instead of type(())?

@bdarnell bdarnell added a commit that referenced this pull request Apr 14, 2013

@bdarnell bdarnell Merge pull request #693 from apieceofredcloth/master
Allow lists as well as tuples in handler definitions
75a2946

@bdarnell bdarnell merged commit 75a2946 into tornadoweb:master Apr 14, 2013

1 check passed

default The Travis build passed
Details

@Rudd-O Rudd-O pushed a commit to Rudd-O/tornado that referenced this pull request Jun 27, 2013

@bdarnell bdarnell Merge pull request #693 from apieceofredcloth/master
Allow lists as well as tuples in handler definitions
483c667
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment