8000 [3.10] Fix small mistake in fileinput documentation (GH-28241) by miss-islington · Pull Request #28249 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.10] Fix small mistake in fileinput documentation (GH-28241) #28249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/library/fileinput.rst
4097
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
0