diff options
-rw-r--r-- | examples/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shell.py b/examples/shell.py index 91ba7fb..c78594e 100644 --- a/examples/shell.py +++ b/examples/shell.py @@ -46,7 +46,7 @@ def test_call(*args, **kw): except asyncio.TimeoutError: print("timeout! (%.1f sec)" % timeout) proc.kill() - yield from proc.wait() + yield From(proc.wait()) loop = asyncio.get_event_loop() loop.run_until_complete(cat(loop)) |