Back to index

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

List of all members.

Static Public Attributes

list argument_signatures
list failures = ['-x', 'a b', '1 2']
list successes

Detailed Description

Tests an Optional Positional with a default value
that needs to be converted to the appropriate type.

Definition at line 855 of file

Member Data Documentation

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

Definition at line 860 of file

Definition at line 863 of file

Initial value:
        ('', NS(foo=42)),
        ('1', NS(foo=1)),

Definition at line 864 of file

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