[Python-checkins] Fix senfile typo (#6265)
Łukasz Langa
webhook-mailer at python.org
Tue Mar 27 20:47:44 EDT 2018
https://github.com/python/cpython/commit/65a34709f60711f7c46031d4c6c420f567bc790a
commit: 65a34709f60711f7c46031d4c6c420f567bc790a
branch: master
author: Sam Dunster <me at sdunster.com>
committer: Łukasz Langa <lukasz at langa.pl>
date: 2018年03月27日T17:47:38-07:00
summary:
Fix senfile typo (#6265)
* Also in docs
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