Back to index

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

List of all members.

Static Public Attributes

list argument_signatures = [Sig('foo'), Sig('bar', nargs='*')]
list failures = ['', '--foo']
list successes

Detailed Description

Test a Positional with no nargs followed by one with unlimited

Definition at line 900 of file test_argparse.py.


Member Data Documentation

Definition at line 903 of file test_argparse.py.

Definition at line 904 of file test_argparse.py.

Initial value:
[
        ('a', NS(foo='a', bar=[])),
        ('a b', NS(foo='a', bar=['b'])),
        ('a b c', NS(foo='a', bar=['b', 'c'])),
    ]

Definition at line 905 of file test_argparse.py.


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