Back to index

python3.2  3.2.2
Static Public Attributes
test.test_argparse.TestHelpRawDescription Class Reference
Collaboration diagram for test.test_argparse.TestHelpRawDescription:
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 3842 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 3857 of file

Initial value:
        Sig('--foo', help='  foo help should not\n'
                          '    retain this odd formatting'),
        Sig('spam', help='spam help'),

Definition at line 3852 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 not retain this odd formatting

          This text
        should be indented
          exactly like it is here

      --bar BAR   bar help

Definition at line 3866 of file

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

Definition at line 3845 of file

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

Definition at line 3863 of file

Definition at line 3887 of file

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