From: Alexander Clausen Date: Sat, 12 Dec 2020 18:34:23 +0000 (+0100) Subject: Fix return type of _return_result X-Git-Tag: v6.2.0b1~58^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f98249dd8a36fd82c25b0be0f998333e07b7ad7;p=thirdparty%2Ftornado.git Fix return type of _return_result --- diff --git a/tornado/gen.py b/tornado/gen.py index 2d2038551..a6370259b 100644 --- a/tornado/gen.py +++ b/tornado/gen.py @@ -410,7 +410,7 @@ class WaitIterator(object): else: self._finished.append(done) - def _return_result(self, done: Future) -> None: + def _return_result(self, done: Future) -> Future: """Called set the returned future's state that of the future we yielded, and set the current future for the iterator. """