Back to index

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

List of all members.

Static Public Attributes

list argument_signatures = [Sig('foo', nargs='?', default=42)]
list failures = ['-x', 'a b']
list successes

Detailed Description

Tests an Optional Positional with a default value

Definition at line 844 of file test_argparse.py.


Member Data Documentation

Definition at line 847 of file test_argparse.py.

Definition at line 848 of file test_argparse.py.

Initial value:
[
        ('', NS(foo=42)),
        ('a', NS(foo='a')),
    ]

Definition at line 849 of file test_argparse.py.


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