Home
last modified time | relevance | path

Searched refs:BooleanOptionalAction (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/test/
Dtest_argparse.py693 argument_signatures = [Sig('--foo', action=argparse.BooleanOptionalAction)]
707 parser.add_argument('--foo', const=True, action=argparse.BooleanOptionalAction)
715 Sig('--foo', required=True, action=argparse.BooleanOptionalAction)
3598 Sig('--foo', help='Whether to foo', action=argparse.BooleanOptionalAction),
3600 action=argparse.BooleanOptionalAction),
3601 Sig('-f', '--foobar', '--barfoo', action=argparse.BooleanOptionalAction),
4307 Sig('--taz', action=argparse.BooleanOptionalAction,
/third_party/python/Misc/NEWS.d/
D3.10.0rc2.rst311 :class:`argparse.BooleanOptionalAction`'s default value is no longer printed
/third_party/python/Lib/
Dargparse.py862 class BooleanOptionalAction(Action): class
/third_party/python/Doc/library/
Dargparse.rst847 other object that implements the same interface. The ``BooleanOptionalAction``
853 >>> parser.add_argument('--foo', action=argparse.BooleanOptionalAction)