Searched refs:BooleanOptionalAction (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_argparse.py | 693 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) 3529 Sig('--foo', help='Whether to foo', action=argparse.BooleanOptionalAction), 3531 action=argparse.BooleanOptionalAction), 3532 Sig('-f', '--foobar', '--barfoo', action=argparse.BooleanOptionalAction),
|
/external/python/cpython3/Lib/ |
D | argparse.py | 856 class BooleanOptionalAction(Action): class
|
/external/python/cpython3/Doc/library/ |
D | argparse.rst | 846 other object that implements the same interface. The ``BooleanOptionalAction`` 852 >>> parser.add_argument('--foo', action=argparse.BooleanOptionalAction)
|