Back to index

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

List of all members.

Static Public Attributes

tuple parser_signature = Sig(prog='PROG', prefix_chars='^;', add_help=False)
list argument_signatures
list argument_group_signatures = []
string usage
string help
string version = ''

Detailed Description

Test that options display with different prefix characters

Definition at line 3671 of file test_argparse.py.


Member Data Documentation

Definition at line 3679 of file test_argparse.py.

Initial value:
[
        Sig('^^foo', action='store_true', help='foo help'),
        Sig(';b', ';;bar', help='bar help'),
    ]

Definition at line 3675 of file test_argparse.py.

Initial value:
'''\

    optional arguments:
      ^^foo              foo help
      ;b BAR, ;;bar BAR  bar help
    '''

Definition at line 3683 of file test_argparse.py.

tuple test.test_argparse.TestHelpAlternatePrefixChars.parser_signature = Sig(prog='PROG', prefix_chars='^;', add_help=False) [static]

Definition at line 3674 of file test_argparse.py.

Initial value:
'''\
    usage: PROG [^^foo] [;b BAR]
    '''

Definition at line 3680 of file test_argparse.py.

Definition at line 3689 of file test_argparse.py.


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