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 ^^^^^^^^^^^