[docs] [issue29344] sock_recv not detected a coroutine
Berker Peksag
report at bugs.python.org
Wed Feb 1 14:49:24 EST 2017
Berker Peksag added the comment:
Here's a patch. sock_connect() wrapped by @coroutine in Lib/asyncio/selector_events.py so I left it as-is. Let me know if it still needs to be updated:
@coroutine
def sock_connect(self, sock, address):
"""Connect to a remote socket at address.
This method is a coroutine.
"""
...
return (yield from fut)
----------
assignee: -> docs at python
components: +Documentation
keywords: +patch
nosy: +docs at python
stage: -> patch review
Added file: http://bugs.python.org/file46483/issue29344.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29344>
_______________________________________
More information about the docs
mailing list