From 1e18c70ad1bee8205427625d2f2ad22443a5d4c7 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 21 Jan 2019 12:07:58 -0500 Subject: [PATCH] Fix func name mismatch --- README.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index dfd7466..ad0f1e6 100644 --- a/README.rst +++ b/README.rst @@ -111,6 +111,7 @@ the hip new film we're shooting: donny = await n.run_in_actor( 'donny', say_hello, + # arguments are always named other_actor='gretchen', ) gretchen = await n.run_in_actor( @@ -162,7 +163,7 @@ and use the ``run_in_actor()`` method: """ async with tractor.open_nursery() as n: - portal = await n.run_in_actor('frank', movie_theatre_question) + portal = await n.run_in_actor('teacher', cellar_door) # The ``async with`` will unblock here since the 'frank' # actor has completed its main task ``movie_theatre_question()``.