Home
last modified time | relevance | path

Searched refs:allow_abbrev (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Misc/NEWS.d/
D3.5.0a2.rst271 Add allow_abbrev parameter to argparse.ArgumentParser. Patch by Jonathan
D3.9.0a4.rst447 ``allow_abbrev=False`` was ignored for long options that used a prefix
D3.9.0a1.rst2826 An :class:`~argparse.ArgumentParser` with ``allow_abbrev=False`` no longer
/external/python/cpython3/Lib/
Dargparse.py1698 allow_abbrev=True, argument
1717 self.allow_abbrev = allow_abbrev
2241 if self.allow_abbrev:
/external/python/cpython3/Doc/library/
Dargparse.rst145 add_help=True, allow_abbrev=True, exit_on_error=True)
186 *allow_abbrev* parameter was added.
189 In previous versions, *allow_abbrev* also disabled grouping of short
550 allow_abbrev section in ArgumentParser objects
557 This feature can be disabled by setting ``allow_abbrev`` to ``False``::
559 >>> parser = argparse.ArgumentParser(prog='PROG', allow_abbrev=False)
1520 The :meth:`~ArgumentParser.parse_args` method :ref:`by default <allow_abbrev>`
1536 This feature can be disabled by setting :ref:`allow_abbrev` to ``False``.
/external/python/cpython3/Lib/test/
Dtest_argparse.py808 parser_signature = Sig(allow_abbrev=False)
825 parser_signature = Sig(prefix_chars='+', allow_abbrev=False)
842 parser_signature = Sig(allow_abbrev=False)
861 parser_signature = Sig(prefix_chars='+', allow_abbrev=False)
/external/python/cpython3/Doc/whatsnew/
D3.5.rst768 :ref:`allow_abbrev` to ``False``. (Contributed by Jonathan Paugh,