Skip to content

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

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

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

Conversation

@gleb-pp

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

Copy link
Copy Markdown
Contributor

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

python-cla-bot Bot commented Apr 13, 2026

Copy link
Copy Markdown

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

@savannahostrowski savannahostrowski left a comment

Copy link
Copy Markdown
Member

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
)

(cherry picked from commit 8ecb6b8)

Co-authored-by: Gleb Popov <gvpopov.dev@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 13, 2026
)

(cherry picked from commit 8ecb6b8)

Co-authored-by: Gleb Popov <gvpopov.dev@gmail.com>
@bedevere-app

bedevere-app Bot commented Apr 13, 2026

Copy link
Copy Markdown

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

bedevere-app Bot commented Apr 13, 2026

Copy link
Copy Markdown

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 <gvpopov.dev@gmail.com>
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 <gvpopov.dev@gmail.com>
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
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