diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-18 10:37:42 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-18 10:37:42 (GMT) |
commit | d6dc7bdaf92915fa47caa47f35ca3cb4505f9f34 (patch) | |
tree | 891cf4020d85da52ab5cfd4f55fb75e461fecc7b /Lib/asyncio/streams.py | |
parent | d55436ace3cb908e0f7a1f368a2cd8879175947d (diff) | |
download | cpython-d6dc7bdaf92915fa47caa47f35ca3cb4505f9f34.zip cpython-d6dc7bdaf92915fa47caa47f35ca3cb4505f9f34.tar.gz cpython-d6dc7bdaf92915fa47caa47f35ca3cb4505f9f34.tar.bz2 |
Issue #23456: Add missing @coroutine decorators in asyncio
Diffstat (limited to 'Lib/asyncio/streams.py')
-rw-r--r-- | Lib/asyncio/streams.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py index 7ff16a4..64ff3d2 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 |