https://github.com/python/cpython/commit/8ecb6b8b0cff4105c4cca408409fb7a2fadc8b77
commit: 8ecb6b8b0cff4105c4cca408409fb7a2fadc8b77
branch: main
author: Gleb Popov <[email protected]>
committer: savannahostrowski <[email protected]>
date: 2026-04-13T11:12:25-07:00
summary:
Fix "encodings" typo in argparse.FileType documentation (#148502)
files:
M Doc/library/argparse.rst
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 8ba11b7d12d552..0091bf95f0cef0 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -1970,7 +1970,7 @@ FileType objects
run and then use the :keyword:`with`-statement to manage the files.
.. versionchanged:: 3.4
- Added the *encodings* and *errors* parameters.
+ Added the *encoding* and *errors* parameters.
.. deprecated:: 3.14
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]