diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-02-13 23:39:17 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-02-13 23:39:17 (GMT) |
commit | 8089cd642fa8b29e852506218b6355be064c2bd5 (patch) | |
tree | 5e1898e258a592415b0b6dd22ebbc527641c514c /Doc/whatsnew/3.5.rst | |
parent | 0fe6325acf013c945dc003eae2ab5addc2186645 (diff) | |
download | cpython-8089cd642fa8b29e852506218b6355be064c2bd5.zip cpython-8089cd642fa8b29e852506218b6355be064c2bd5.tar.gz cpython-8089cd642fa8b29e852506218b6355be064c2bd5.tar.bz2 |
Issue #14910: Add allow_abbrev parameter to argparse.ArgumentParser.
Patch by Jonathan Paugh, Steven Bethard, paul j3 and Daniel Eriksson.
Diffstat (limited to 'Doc/whatsnew/3.5.rst')
-rw-r--r-- | Doc/whatsnew/3.5.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 1de9e8f..c8be694 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -146,6 +146,14 @@ New Modules Improved Modules ================ +argparse +-------- + +* :class:`~argparse.ArgumentParser` now allows to disable + :ref:`abbreviated usage <prefix-matching>` of long options by setting + :ref:`allow_abbrev` to ``False``. + (Contributed by Jonathan Paugh, Steven Bethard, paul j3 and Daniel Eriksson.) + cgi --- |