From 65a34709f60711f7c46031d4c6c420f567bc790a Mon Sep 17 00:00:00 2001 From: Sam Dunster Date: Tue, 27 Mar 2018 17:47:38 -0700 Subject: [PATCH] Fix senfile typo (#6265) * Also in docs --- Doc/library/asyncio-eventloop.rst | 2 +- Lib/asyncio/events.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index 3ee9939192c..ca8055bd162 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -1114,7 +1114,7 @@ SendfileNotAvailableError Sendfile syscall is not available, subclass of :exc:`RuntimeError`. - Raised if the OS does not support senfile syscall for + Raised if the OS does not support sendfile syscall for given socket or file type. diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py index fcca5d4cb34..40946bbf652 100644 --- a/Lib/asyncio/events.py +++ b/Lib/asyncio/events.py @@ -24,7 +24,7 @@ from . import format_helpers class SendfileNotAvailableError(RuntimeError): """Sendfile syscall is not available. - Raised if OS does not support senfile syscall for given socket or + Raised if OS does not support sendfile syscall for given socket or file type. """