Back to index

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

List of all members.

Static Public Attributes

tuple parser_signature
tuple subcommand_data
list subparsers_signatures
string usage
string help
string version

Detailed Description

Test ordering of subcommands in help matches the code

Definition at line 3978 of file

Member Data Documentation

Initial value:

    display some subcommands

    positional arguments:
        a            a subcommand help
        b            b subcommand help
        c            c subcommand help
        d            d subcommand help
        e            e subcommand help

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

Definition at line 3998 of file

Initial value:
                           description='display some subcommands',

Definition at line 3980 of file

Initial value:
(('a', 'a subcommand help'),
                       ('b', 'b subcommand help'),
                       ('c', 'c subcommand help'),
                       ('d', 'd subcommand help'),
                       ('e', 'e subcommand help'),

Definition at line 3984 of file

Initial value:
[Sig(name=name, help=help)
                             for name, help in subcommand_data]

Definition at line 3991 of file

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

Definition at line 3994 of file

Initial value:

Definition at line 4015 of file

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