]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix "encodings" typo in argparse.FileType documentation (#148502)
authorGleb Popov <gvpopov.dev@gmail.com>
Mon, 13 Apr 2026 18:12:25 +0000 (21:12 +0300)
committerGitHub <noreply@github.com>
Mon, 13 Apr 2026 18:12:25 +0000 (11:12 -0700)
Doc/library/argparse.rst

index 8ba11b7d12d552c7a5aed664d2f4fd7c73eafdf1..0091bf95f0cef06ea1aa83cf73afdf419dc50371 100644 (file)
@@ -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