From d26183452f1e00fac38ad28d3817803605f884d6 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 22 Nov 2014 01:47:08 +0100 Subject: link_future() only accepts coroutine objects, not coroutine functions --- doc/using.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/using.rst') diff --git a/doc/using.rst b/doc/using.rst index 5fcf043..0956085 100644 --- a/doc/using.rst +++ b/doc/using.rst @@ -115,7 +115,7 @@ link_future .. function:: link_future(future, loop=None) - Wait for a future, a task, or a coroutine from a greenthread. + Wait for a future, a task, or a coroutine object from a greenthread. Return the result or raise the exception of the future. -- cgit v1.2.1