Skip to content

Fix "encodings" typo in argparse.FileType documentation#148502

Merged
savannahostrowski merged 1 commit intopython:mainfrom
gleb-pp:main
Apr 13, 2026
Merged

Fix "encodings" typo in argparse.FileType documentation#148502
savannahostrowski merged 1 commit intopython:mainfrom
gleb-pp:main

Conversation

@gleb-pp
Copy link
Copy Markdown
Contributor

@gleb-pp gleb-pp commented Apr 13, 2026

Fix a typo in argparse.FileType documentation.

The parameter name is encoding, not encodings, to match the actual API.


📚 Documentation preview 📚: https://cpython-previews--148502.org.readthedocs.build/

@python-cla-bot
Copy link
Copy Markdown

python-cla-bot bot commented Apr 13, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news labels Apr 13, 2026
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Apr 13, 2026
@savannahostrowski savannahostrowski added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Apr 13, 2026
Copy link
Copy Markdown
Member

@savannahostrowski savannahostrowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thank you!

@savannahostrowski savannahostrowski merged commit 8ecb6b8 into python:main Apr 13, 2026
47 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Apr 13, 2026
@miss-islington-app
Copy link
Copy Markdown

Thanks @gleb-pp for the PR, and @savannahostrowski for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 13, 2026
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 13, 2026
@bedevere-app
Copy link
Copy Markdown

bedevere-app bot commented Apr 13, 2026

GH-148513 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Apr 13, 2026
@bedevere-app
Copy link
Copy Markdown

bedevere-app bot commented Apr 13, 2026

GH-148514 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Apr 13, 2026
savannahostrowski pushed a commit that referenced this pull request Apr 13, 2026
…8502) (#148513)

Fix "encodings" typo in argparse.FileType documentation (GH-148502)
(cherry picked from commit 8ecb6b8)

Co-authored-by: Gleb Popov <[email protected]>
savannahostrowski pushed a commit that referenced this pull request Apr 13, 2026
…8502) (#148514)

Fix "encodings" typo in argparse.FileType documentation (GH-148502)
(cherry picked from commit 8ecb6b8)

Co-authored-by: Gleb Popov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants