mirror of
https://github.com/python/cpython.git
synced 2025-10-06 23:21:06 +00:00
Issue #23456: Add missing @coroutine decorators in asyncio
This commit is contained in:
parent
d55436ace3
commit
d6dc7bdaf9
3 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue