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

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

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

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

Initial value:

    Keep the formatting
        exactly as it is written


    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

          This text
        should be indented
          exactly like it is here

      --bar BAR   bar help

Definition at line 3817 of file

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

Definition at line 3796 of file

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

Definition at line 3814 of file

Definition at line 3839 of file

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