summaryrefslogtreecommitdiff
path: root/Lib/asyncio/streams.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-18 11:37:54 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-03-18 11:37:54 +0100
commit50931f41d0837d309289ec36b80951d3c38b30d4 (patch)
tree2a00d8c0b92c5236cd70cc32b0a163ca7e47a7ac /Lib/asyncio/streams.py
parent7fea974baf7ba69824a511ddaf7776634ea0737a (diff)
parentd6dc7bdaf92915fa47caa47f35ca3cb4505f9f34 (diff)
downloadcpython-git-50931f41d0837d309289ec36b80951d3c38b30d4.tar.gz
Merge 3.4 (asyncio)
Diffstat (limited to 'Lib/asyncio/streams.py')
-rw-r--r--Lib/asyncio/streams.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py
index 7ff16a488f..64ff3d2edc 100644
--- a/Lib/asyncio/streams.py
+++ b/Lib/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