]> git.ipfire.org Git - thirdparty/tornado.git/commit
Consolidate implementations of gen.engine and gen.coroutine.
authorBen Darnell <ben@bendarnell.com>
Sun, 26 Jan 2014 20:16:36 +0000 (15:16 -0500)
committerBen Darnell <ben@bendarnell.com>
Sun, 26 Jan 2014 20:16:36 +0000 (15:16 -0500)
commitb2ee332165f59c97a0bd244d6a5c2825d9932cc4
treeb7cff7eee722ee773cd6ab41e7dd182d28756c50
parent9cf95ff7eb45bdde092fdd46ab47a26c3e6f4495
Consolidate implementations of gen.engine and gen.coroutine.

The shared implementation is nearly identical to the old gen.coroutine,
with a small tweak for the callback argument.
tornado/gen.py