From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 13 Apr 2026 18:33:28 +0000 (+0200) Subject: [3.14] Fix "encodings" typo in argparse.FileType documentation (GH-148502) (#148513) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e74e59d42a41ea18a912543a71a3a1e5e049d9e2;p=thirdparty%2FPython%2Fcpython.git [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 --- diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index fe77a3a8b69f..bc36a2933aa3 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