[Python-checkins] Fix senfile typo (GH-6265) (#6274)
Łukasz Langa
webhook-mailer at python.org
Tue Mar 27 21:34:18 EDT 2018
https://github.com/python/cpython/commit/211c0dbc6a8b390f914746f05bf13d024933378b
commit: 211c0dbc6a8b390f914746f05bf13d024933378b
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Łukasz Langa <lukasz at langa.pl>
date: 2018-03-27T18:34:15-07:00
summary:
Fix senfile typo (GH-6265) (#6274)
* Also in docs
(cherry picked from commit 65a34709f60711f7c46031d4c6c420f567bc790a)
Co-authored-by: Sam Dunster <me at sdunster.com>
files:
M Doc/library/asyncio-eventloop.rst
M Lib/asyncio/events.py
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 3ee9939192c1..ca8055bd162f 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 fcca5d4cb347..40946bbf6529 100644
--- a/Lib/asyncio/events.py
+++ b/Lib/asyncio/events.py
@@ -24,7 +24,7 @@
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.
"""
More information about the Python-checkins
mailing list