Back to index

python3.2  3.2.2
Static Public Attributes
test.test_argparse.TestPrefixCharacterOnlyArguments Class Reference

List of all members.

Static Public Attributes

tuple parser_signature = Sig(prefix_chars='-+')
list argument_signatures
list failures = ['-y', '+ -']
list successes

Detailed Description

Definition at line 1209 of file

Member Data Documentation

Initial value:
        Sig('-', dest='x', nargs='?', const='badger'),
        Sig('+', dest='y', type=int, default=42),
        Sig('-+-', dest='z', action='store_true'),

Definition at line 1212 of file

Definition at line 1217 of file

Definition at line 1211 of file

Initial value:
        ('', NS(x=None, y=42, z=False)),
        ('-', NS(x='badger', y=42, z=False)),
        ('- X', NS(x='X', y=42, z=False)),
        ('+ -3', NS(x=None, y=-3, z=False)),
        ('-+-', NS(x=None, y=42, z=True)),
        ('- ===', NS(x='===', y=42, z=False)),

Definition at line 1218 of file

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