Fix small mistake in fileinput documentation (GH-28241)

This commit is contained in:
Jean-Abou-Samra 2021-09-09 10:01:10 +02:00 committed by GitHub
parent 4a5cccb02b
commit 5afb570d2e
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: