From a4a7039056dfc2196f341a8c4ab1d9bc21341b32 Mon Sep 17 00:00:00 2001 From: "Michael V. DePalatis" Date: Sat, 15 Sep 2018 10:03:04 -0600 Subject: [PATCH] Fix run_in_executor call in user guide Addresses #2493. --- docs/guide/coroutines.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/coroutines.rst b/docs/guide/coroutines.rst index eb500da1..29f614cc 100644 --- a/docs/guide/coroutines.rst +++ b/docs/guide/coroutines.rst @@ -177,7 +177,7 @@ use `.IOLoop.run_in_executor`, which returns ``Futures`` that are compatible with coroutines:: async def call_blocking(): - await IOLoop.current().run_in_executor(blocking_func, args) + await IOLoop.current().run_in_executor(None, blocking_func, args) Parallelism ^^^^^^^^^^^