]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Fix "encodings" typo in argparse.FileType documentation (GH-148502) (#148514)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 13 Apr 2026 18:34:05 +0000 (20:34 +0200)
committerGitHub <noreply@github.com>
Mon, 13 Apr 2026 18:34:05 +0000 (11:34 -0700)
Fix "encodings" typo in argparse.FileType documentation (GH-148502)
(cherry picked from commit 8ecb6b8b0cff4105c4cca408409fb7a2fadc8b77)

Co-authored-by: Gleb Popov <gvpopov.dev@gmail.com>
Doc/library/argparse.rst

index 84a242d29a059afbc6ac279e192a49ab8bd36130..af39724170941d1cf5bd51e25b8f69ecbcaef799 100644 (file)
@@ -1828,7 +1828,7 @@ FileType objects
       Namespace(infile=<_io.TextIOWrapper name='<stdin>' encoding='UTF-8'>)
 
    .. versionchanged:: 3.4
-      Added the *encodings* and *errors* parameters.
+      Added the *encoding* and *errors* parameters.
 
 
 Argument groups