Fix senfile typo (GH-6265) (#6274)

* Also in docs
(cherry picked from commit 65a34709f6)

Co-authored-by: Sam Dunster <me@sdunster.com>
This commit is contained in:
Miss Islington (bot) 2018-03-27 18:34:15 -07:00 committed by Łukasz Langa
parent 6a2539c434
commit 211c0dbc6a
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.
"""