summaryrefslogtreecommitdiff
path: root/asyncio/streams.py
diff options
context:
space:
mode:
Diffstat (limited to 'asyncio/streams.py')
-rw-r--r--asyncio/streams.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/asyncio/streams.py b/asyncio/streams.py
index 7ff16a4..64ff3d2 100644
--- a/asyncio/streams.py
+++ b/asyncio/streams.py
@@ -378,6 +378,7 @@ class StreamReader:
else:
self._paused = True
+ @coroutine
def _wait_for_data(self, func_name):
"""Wait until feed_data() or feed_eof() is called."""
# StreamReader uses a future to link the protocol feed_data() method