Back to index

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

List of all members.

Static Public Attributes

tuple parser_signature = Sig(prog='PROG', description= 'D\nD' * 30)
list argument_signatures
list argument_group_signatures
string usage
string help
string version = ''

Detailed Description

Make sure that text after short names starts on the first line

Definition at line 3070 of file test_argparse.py.


Member Data Documentation

Initial value:
[
        (Sig('ALPHAS'), [
            Sig('-a', action='store_true', help='AHHH HHA' * 10)]),
    ]

Definition at line 3078 of file test_argparse.py.

Initial value:
[
        Sig('-x', metavar='XX', help='XHH HX' * 20),
        Sig('y', metavar='yyy', help='YH YH' * 20),
    ]

Definition at line 3074 of file test_argparse.py.

Initial value:
'''\

    D DD DD DD DD DD DD DD DD DD DD DD DD DD DD DD DD DD DD DD DD DD DD \
DD DD DD
    DD DD DD DD D

    positional arguments:
      yyy         YH YHYH YHYH YHYH YHYH YHYH YHYH YHYH YHYH YHYH YHYH \
YHYH YHYH
                  YHYH YHYH YHYH YHYH YHYH YHYH YHYH YH

    optional arguments:
      -h, --help  show this help message and exit
      -x XX       XHH HXXHH HXXHH HXXHH HXXHH HXXHH HXXHH HXXHH HXXHH \
HXXHH HXXHH
                  HXXHH HXXHH HXXHH HXXHH HXXHH HXXHH HXXHH HXXHH HXXHH HX

    ALPHAS:
      -a          AHHH HHAAHHH HHAAHHH HHAAHHH HHAAHHH HHAAHHH HHAAHHH \
HHAAHHH
                  HHAAHHH HHAAHHH HHA
    '''

Definition at line 3085 of file test_argparse.py.

tuple test.test_argparse.TestHelpWrappingShortNames.parser_signature = Sig(prog='PROG', description= 'D\nD' * 30) [static]

Definition at line 3073 of file test_argparse.py.

Initial value:
'''\
    usage: PROG [-h] [-x XX] [-a] yyy
    '''

Definition at line 3082 of file test_argparse.py.

Definition at line 3107 of file test_argparse.py.


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