Searched refs:BooleanOptionalAction (Results 1 – 4 of 4) sorted by relevance
/third_party/python/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) 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/ |
D | 3.10.0rc2.rst | 311 :class:`argparse.BooleanOptionalAction`'s default value is no longer printed
|
/third_party/python/Lib/ |
D | argparse.py | 862 class BooleanOptionalAction(Action): class
|
/third_party/python/Doc/library/ |
D | argparse.rst | 847 other object that implements the same interface. The ``BooleanOptionalAction`` 853 >>> parser.add_argument('--foo', action=argparse.BooleanOptionalAction)
|