From: Bruno P. Kinoshita Date: Mon, 13 Jul 2020 21:34:57 +0000 (+1200) Subject: Remove text about callback (removed) in run_on_executor X-Git-Tag: v6.1.0b1~16^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2889%2Fhead;p=thirdparty%2Ftornado.git Remove text about callback (removed) in run_on_executor --- diff --git a/tornado/concurrent.py b/tornado/concurrent.py index 3a49940df..7638fcfc9 100644 --- a/tornado/concurrent.py +++ b/tornado/concurrent.py @@ -74,8 +74,7 @@ dummy_executor = DummyExecutor() def run_on_executor(*args: Any, **kwargs: Any) -> Callable: """Decorator to run a synchronous method asynchronously on an executor. - The decorated method may be called with a ``callback`` keyword - argument and returns a future. + Returns a future. The executor to be used is determined by the ``executor`` attributes of ``self``. To use a different attribute name, pass a