From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 13 Apr 2026 18:34:05 +0000 (+0200) Subject: [3.13] Fix "encodings" typo in argparse.FileType documentation (GH-148502) (#148514) X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;h=f35859bca609ac1ac9a3d1035990ea1cdf9c6302;p=thirdparty%2FPython%2Fcpython.git [3.13] Fix "encodings" typo in argparse.FileType documentation (GH-148502) (#148514) 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 84a242d29a05..af3972417094 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -1828,7 +1828,7 @@ FileType objects Namespace(infile=<_io.TextIOWrapper name='' encoding='UTF-8'>) .. versionchanged:: 3.4 - Added the *encodings* and *errors* parameters. + Added the *encoding* and *errors* parameters. Argument groups