Skip to content

Commit c081866

Browse files
Fix small mistake in fileinput documentation (GH-28241)
(cherry picked from commit 5afb570) Co-authored-by: Jean-Abou-Samra <[email protected]>
1 parent 3c30805 commit c081866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/fileinput.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ You can control how files are opened by providing an opening hook via the
5151
hook must be a function that takes two arguments, *filename* and *mode*, and
5252
returns an accordingly opened file-like object. If *encoding* and/or *errors*
5353
are specified, they will be passed to the hook as aditional keyword arguments.
54-
This module provides a :func:`hook_encoded` to support compressed files.
54+
This module provides a :func:`hook_compressed` to support compressed files.
5555

5656
The following function is the primary interface of this module:
5757

0 commit comments

Comments
 (0)