Back to index

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

List of all members.

Static Public Attributes

tuple parser_signature
list argument_signatures
list argument_group_signatures
string usage
string help
string version = ''

Detailed Description

Test the RawTextHelpFormatter

Definition at line 3793 of file test_argparse.py.


Member Data Documentation

Initial value:
[
        (Sig('title', description='    This text\n'
                                  '  should be indented\n'
                                  '    exactly like it is here\n'),
         [Sig('--bar', help='bar help')]),
    ]

Definition at line 3808 of file test_argparse.py.

Initial value:
[
        Sig('--foo', help='    foo help should also\n'
                          'appear as given here'),
        Sig('spam', help='spam help'),
    ]

Definition at line 3803 of file test_argparse.py.

Initial value:
'''\

    Keep the formatting
        exactly as it is written

    here

    positional arguments:
      spam        spam help

    optional arguments:
      -h, --help  show this help message and exit
      --foo FOO       foo help should also
                  appear as given here

    title:
          This text
        should be indented
          exactly like it is here

      --bar BAR   bar help
    '''

Definition at line 3817 of file test_argparse.py.

Initial value:
Sig(
        prog='PROG', formatter_class=argparse.RawTextHelpFormatter,
        description='Keep the formatting\n'
                    '    exactly as it is written\n'
                    '\n'
                    'here\n')

Definition at line 3796 of file test_argparse.py.

Initial value:
'''\
    usage: PROG [-h] [--foo FOO] [--bar BAR] spam
    '''

Definition at line 3814 of file test_argparse.py.

Definition at line 3839 of file test_argparse.py.


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