Back to index

python3.2  3.2.2
Static Public Attributes
test.test_argparse.TestHelpSubparsersOrdering Class Reference
Collaboration diagram for test.test_argparse.TestHelpSubparsersOrdering:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

tuple parser_signature
list subparsers_signatures
string usage
string help
string version

Detailed Description

Test ordering of subcommands in help matches the code

Definition at line 3949 of file test_argparse.py.


Member Data Documentation

Initial value:
'''\

    display some subcommands

    positional arguments:
      {a,b,c,d,e}

    optional arguments:
      -h, --help     show this help message and exit
      -v, --version  show program's version number and exit
    '''

Definition at line 3962 of file test_argparse.py.

Initial value:
Sig(prog='PROG',
                           description='display some subcommands',
                           version='0.1')

Definition at line 3951 of file test_argparse.py.

Initial value:
[Sig(name=name)
                             for name in ('a', 'b', 'c', 'd', 'e')]

Definition at line 3955 of file test_argparse.py.

Initial value:
'''\
    usage: PROG [-h] [-v] {a,b,c,d,e} ...
    '''

Definition at line 3958 of file test_argparse.py.

Initial value:
'''\
    0.1
    '''

Definition at line 3974 of file test_argparse.py.


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