summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorJean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>2021-09-09 08:01:10 (GMT)
committerGitHub <noreply@github.com>2021-09-09 08:01:10 (GMT)
commit5afb570d2e21d4c4e91802c4948569302f9c1a7b (patch)
tree2c904cd735fb2b182d8ebe09d54faf5016306f28 /Doc/library
parent4a5cccb02bb2254634c0fbb2cbb14e2e7f45e2d5 (diff)
downloadcpython-5afb570d2e21d4c4e91802c4948569302f9c1a7b.zip
cpython-5afb570d2e21d4c4e91802c4948569302f9c1a7b.tar.gz
cpython-5afb570d2e21d4c4e91802c4948569302f9c1a7b.tar.bz2
Fix small mistake in fileinput documentation (GH-28241)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/fileinput.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/fileinput.rst b/Doc/library/fileinput.rst
index 731c3d0..ae31341 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: