mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Fix small mistake in fileinput documentation (GH-28241)
(cherry picked from commit 5afb570d2e
)
Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
This commit is contained in:
parent
3c30805b58
commit
c081866971
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue