Back to index

python3.2  3.2.2
Static Public Attributes
test.test_argparse.TestHelpSuppressOptionalGroup Class Reference
Collaboration diagram for test.test_argparse.TestHelpSuppressOptionalGroup:
Collaboration graph

List of all members.

Static Public Attributes

tuple parser_signature = Sig(prog='PROG')
list argument_signatures
list argument_group_signatures
string usage
string help
string version = ''

Detailed Description

Test that optional groups can be suppressed in help messages

Definition at line 3604 of file

Member Data Documentation

Initial value:
        (Sig('group'), [Sig('--bar', help=argparse.SUPPRESS)]),

Definition at line 3612 of file

Initial value:
        Sig('--foo', help='foo help'),
        Sig('spam', help='spam help'),

Definition at line 3608 of file

Initial value:

    positional arguments:
      spam        spam help

    optional arguments:
      -h, --help  show this help message and exit
      --foo FOO   foo help

Definition at line 3618 of file

Definition at line 3607 of file

Initial value:
    usage: PROG [-h] [--foo FOO] spam

Definition at line 3615 of file

Definition at line 3627 of file

The documentation for this class was generated from the following file: