diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-12-31 16:18:01 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-12-31 16:18:01 (GMT) |
commit | fced3ec2db437097e45e1311c321a74cf96a4a06 (patch) | |
tree | b33fd65aee4fe6a7c27c38e36186363d28547ef1 /Doc/library | |
parent | 2bc930f0442e2bc7ea6d86b74352ad8ac90a40c8 (diff) | |
download | cpython-fced3ec2db437097e45e1311c321a74cf96a4a06.zip cpython-fced3ec2db437097e45e1311c321a74cf96a4a06.tar.gz cpython-fced3ec2db437097e45e1311c321a74cf96a4a06.tar.bz2 |
whatsnew: argparse FileType accepts errors and encodings args.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/argparse.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 51abc7a..b1b5135 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -1671,6 +1671,9 @@ FileType objects >>> parser.parse_args(['-']) Namespace(infile=<_io.TextIOWrapper name='<stdin>' encoding='UTF-8'>) + .. versionadded:: 3.4 + The *encodings* and *errors* keyword arguments. + Argument groups ^^^^^^^^^^^^^^^ |