Back to index

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

List of all members.

Static Public Attributes

list argument_signatures
list failures = ['--foo', 'a b c']
list successes

Detailed Description

Test two optional nargs

Definition at line 1079 of file

Member Data Documentation

Initial value:
        Sig('foo', nargs='?'),
        Sig('bar', nargs='?', default=42),

Definition at line 1082 of file

Definition at line 1086 of file

Initial value:
        ('', NS(foo=None, bar=42)),
        ('a', NS(foo='a', bar=42)),
        ('a b', NS(foo='a', bar='b')),

Definition at line 1087 of file

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