From 1a5ef756799bbaa388adb8f33871d41a3c60f559 Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Tue, 14 Jul 2020 09:34:57 +1200 Subject: [PATCH] Remove text about callback (removed) in run_on_executor --- tornado/concurrent.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.47.2