summaryrefslogtreecommitdiff
path: root/Lib/asyncio/base_subprocess.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-18 11:37:42 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-03-18 11:37:42 +0100
commitd6dc7bdaf92915fa47caa47f35ca3cb4505f9f34 (patch)
tree891cf4020d85da52ab5cfd4f55fb75e461fecc7b /Lib/asyncio/base_subprocess.py
parentd55436ace3cb908e0f7a1f368a2cd8879175947d (diff)
downloadcpython-git-d6dc7bdaf92915fa47caa47f35ca3cb4505f9f34.tar.gz
Issue #23456: Add missing @coroutine decorators in asyncio
Diffstat (limited to 'Lib/asyncio/base_subprocess.py')
-rw-r--r--Lib/asyncio/base_subprocess.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/base_subprocess.py b/Lib/asyncio/base_subprocess.py
index d18f3e8f07..c1477b8248 100644
--- a/Lib/asyncio/base_subprocess.py
+++ b/Lib/asyncio/base_subprocess.py
@@ -211,6 +211,7 @@ class BaseSubprocessTransport(transports.SubprocessTransport):
waiter.set_result(returncode)
self._exit_waiters = None
+ @coroutine
def _wait(self):
"""Wait until the process exit and return the process return code.