summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-03-28 01:34:15 (GMT)
committerƁukasz Langa <lukasz@langa.pl>2018-03-28 01:34:15 (GMT)
commit211c0dbc6a8b390f914746f05bf13d024933378b (patch)
tree4e8860ed4df54a833ceed7efd853eebc171df1ff
parent6a2539c43412567a4c693da8e7fdf5e73191fd16 (diff)
downloadcpython-211c0dbc6a8b390f914746f05bf13d024933378b.zip
cpython-211c0dbc6a8b390f914746f05bf13d024933378b.tar.gz
cpython-211c0dbc6a8b390f914746f05bf13d024933378b.tar.bz2
Fix senfile typo (GH-6265) (#6274)
* Also in docs (cherry picked from commit 65a34709f60711f7c46031d4c6c420f567bc790a) Co-authored-by: Sam Dunster <me@sdunster.com>
-rw-r--r--Doc/library/asyncio-eventloop.rst2
-rw-r--r--Lib/asyncio/events.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 3ee9939..ca8055b 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 fcca5d4..40946bb 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.
"""