From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 28 Mar 2018 01:34:15 +0000 (-0700) Subject: Fix senfile typo (GH-6265) (#6274) X-Git-Tag: v3.7.0b3~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=211c0dbc6a8b390f914746f05bf13d024933378b;p=python Fix senfile typo (GH-6265) (#6274) * Also in docs (cherry picked from commit 65a34709f60711f7c46031d4c6c420f567bc790a) Co-authored-by: Sam Dunster --- diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index 3ee9939192..ca8055bd16 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 fcca5d4cb3..40946bbf65 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. """