From: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com> Date: Thu, 9 Sep 2021 08:01:10 +0000 (+0200) Subject: Fix small mistake in fileinput documentation (GH-28241) X-Git-Tag: v3.11.0a1~219 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5afb570d2e21d4c4e91802c4948569302f9c1a7b;p=thirdparty%2FPython%2Fcpython.git Fix small mistake in fileinput documentation (GH-28241) --- diff --git a/Doc/library/fileinput.rst b/Doc/library/fileinput.rst index 731c3d0c99a8..ae31341a9e63 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: