From 07b6f2514345ac0c3291e6c4cdb0ae436d0c6f74 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 fe77a3a8b69f54..bc36a2933aa314 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