Fix small mistake in fileinput documentation (GH-28241)

(cherry picked from commit 5afb570d2e)

Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2021-09-09 01:24:51 -07:00 committed by GitHub
parent 3c30805b58
commit c081866971
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ You can control how files are opened by providing an opening hook via the
hook must be a function that takes two arguments, *filename* and *mode*, and
returns an accordingly opened file-like object. If *encoding* and/or *errors*
are specified, they will be passed to the hook as aditional keyword arguments.
This module provides a :func:`hook_encoded` to support compressed files.
This module provides a :func:`hook_compressed` to support compressed files.
The following function is the primary interface of this module: