diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-09-09 08:24:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 08:24:51 (GMT) |
commit | c0818669716b505cdbd6edc73e13f66d6467ee02 (patch) | |
tree | 8299361d6137b91c8db9470c348b32e2ead6948e /Doc/library/fileinput.rst | |
parent | 3c30805b58421a1e2aa613052b6d45899f9b1b5d (diff) | |
download | cpython-c0818669716b505cdbd6edc73e13f66d6467ee02.zip cpython-c0818669716b505cdbd6edc73e13f66d6467ee02.tar.gz cpython-c0818669716b505cdbd6edc73e13f66d6467ee02.tar.bz2 |
Fix small mistake in fileinput documentation (GH-28241)
(cherry picked from commit 5afb570d2e21d4c4e91802c4948569302f9c1a7b)
Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
Diffstat (limited to 'Doc/library/fileinput.rst')
-rw-r--r-- | Doc/library/fileinput.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/fileinput.rst b/Doc/library/fileinput.rst index 3880ed3..b840393 100644 --- a/Doc/library/fileinput.rst +++ b/Doc/library/fileinput.rst @@ -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: |