diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2018-01-16 17:59:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-16 17:59:34 (GMT) |
commit | 6b5a27975a415108a5eac12ee302bf2b3233f4d4 (patch) | |
tree | 09e3233c5c9c9b269c5cc47a0ed97a151280daac /Lib/asyncio/events.py | |
parent | c495e799ed376af91ae2ddf6c4bcc592490fe294 (diff) | |
download | cpython-6b5a27975a415108a5eac12ee302bf2b3233f4d4.zip cpython-6b5a27975a415108a5eac12ee302bf2b3233f4d4.tar.gz cpython-6b5a27975a415108a5eac12ee302bf2b3233f4d4.tar.bz2 |
bpo-32410: Implement loop.sock_sendfile() (#4976)
Diffstat (limited to 'Lib/asyncio/events.py')
-rw-r--r-- | Lib/asyncio/events.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py index af4545b..b06721f 100644 --- a/Lib/asyncio/events.py +++ b/Lib/asyncio/events.py @@ -464,6 +464,10 @@ class AbstractEventLoop: async def sock_accept(self, sock): raise NotImplementedError + async def sock_sendfile(self, sock, file, offset=0, count=None, + *, fallback=None): + raise NotImplementedError + # Signal handling. def add_signal_handler(self, sig, callback, *args): |