]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix small mistake in fileinput documentation (GH-28241)
authorJean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
Thu, 9 Sep 2021 08:01:10 +0000 (10:01 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Sep 2021 08:01:10 +0000 (11:01 +0300)
Doc/library/fileinput.rst

index 731c3d0c99a8cd8a8e9e153c03b6488043db0352..ae31341a9e63ee6e0aadc3e859fc13115126abc7 100644 (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: