summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Dunster <me@sdunster.com>2018-03-28 00:47:38 (GMT)
committerƁukasz Langa <lukasz@langa.pl>2018-03-28 00:47:38 (GMT)
commit65a34709f60711f7c46031d4c6c420f567bc790a (patch)
tree31c3e06c95384a93fff89e9f56cccbb3a6120c73
parent8534d53333e4e918be82b041754ecd89af519e5b (diff)
downloadcpython-65a34709f60711f7c46031d4c6c420f567bc790a.zip
cpython-65a34709f60711f7c46031d4c6c420f567bc790a.tar.gz
cpython-65a34709f60711f7c46031d4c6c420f567bc790a.tar.bz2
Fix senfile typo (#6265)
* Also in docs
-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.
"""