From d5a70f5f92f1f220782ee71135f71171fd30030a Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Mon, 13 Apr 2026 21:12:25 +0300 Subject: [PATCH] Fix "encodings" typo in argparse.FileType documentation (GH-148502) (cherry picked from commit 8ecb6b8b0cff4105c4cca408409fb7a2fadc8b77) Co-authored-by: Gleb Popov --- Doc/library/argparse.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 84a242d29a059a..af39724170941d 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