Skip to content

Commit d5a70f5

Browse files
gleb-ppmiss-islington
authored andcommitted
Fix "encodings" typo in argparse.FileType documentation (GH-148502)
(cherry picked from commit 8ecb6b8) Co-authored-by: Gleb Popov <gvpopov.dev@gmail.com>
1 parent c3cf71c commit d5a70f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/argparse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ FileType objects
18281828
Namespace(infile=<_io.TextIOWrapper name='<stdin>' encoding='UTF-8'>)
18291829

18301830
.. versionchanged:: 3.4
1831-
Added the *encodings* and *errors* parameters.
1831+
Added the *encoding* and *errors* parameters.
18321832

18331833

18341834
Argument groups

0 commit comments

Comments
 (0)