From: Michael V. DePalatis Date: Sat, 15 Sep 2018 16:03:04 +0000 (-0600) Subject: Fix run_in_executor call in user guide X-Git-Tag: v6.0.0b1~32^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4a7039056dfc2196f341a8c4ab1d9bc21341b32;p=thirdparty%2Ftornado.git Fix run_in_executor call in user guide Addresses #2493. --- diff --git a/docs/guide/coroutines.rst b/docs/guide/coroutines.rst index eb500da12..29f614cce 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 ^^^^^^^^^^^