https://github.com/python/cpython/commit/e74e59d42a41ea18a912543a71a3a1e5e049d9e2
commit: e74e59d42a41ea18a912543a71a3a1e5e049d9e2
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: savannahostrowski <[email protected]>
date: 2026-04-13T11:33:28-07:00
summary:

[3.14] Fix "encodings" typo in argparse.FileType documentation (GH-148502) 
(#148513)

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

Co-authored-by: Gleb Popov <[email protected]>

files:
M Doc/library/argparse.rst

diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index fe77a3a8b69f54..bc36a2933aa314 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -1934,7 +1934,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]

Reply via email to