diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/asyncio-eventloop.rst | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index e63180b..6cee171 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -726,7 +726,7 @@ Low-level socket operations the file when the platform does not support the sendfile syscall (e.g. Windows or SSL socket on Unix). - Raise :exc:`RuntimeError` if the system does not support + Raise :exc:`SendfileNotAvailableError` if the system does not support *sendfile* syscall and *fallback* is ``False``. .. versionadded:: 3.7 @@ -980,6 +980,18 @@ Handle .. versionadded:: 3.7 +SendfileNotAvailableError +------------------------- + + +.. exception:: SendfileNotAvailableError + + Sendfile syscall is not available, subclass of :exc:`RuntimeError`. + + Raised if the OS does not support senfile syscall for + given socket or file type. + + Event loop examples ------------------- |