summaryrefslogtreecommitdiff
path: root/Doc/library/argparse.rst
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-12-31 11:18:01 -0500
committerR David Murray <rdmurray@bitdance.com>2013-12-31 11:18:01 -0500
commit6e749d0a0c76c82c34a88539d3badcdb8a4797ed (patch)
tree25aece870975b3f69c308d95cdbbc5b93de075d3 /Doc/library/argparse.rst
parent6a17884c1d7e867381660db359db6093a3209479 (diff)
downloadcpython-6e749d0a0c76c82c34a88539d3badcdb8a4797ed.tar.gz
whatsnew: argparse FileType accepts errors and encodings args.
Diffstat (limited to 'Doc/library/argparse.rst')
-rw-r--r--Doc/library/argparse.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 51abc7a909..b1b5135eac 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
^^^^^^^^^^^^^^^