Back to index

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

List of all members.

Static Public Attributes

list argument_signatures = [Sig('foo'), Sig('bar', nargs='?')]
list failures = ['', '--foo', 'a b c']
list successes

Detailed Description

Test a Positional with no nargs followed by one with an Optional

Definition at line 923 of file test_argparse.py.


Member Data Documentation

Definition at line 926 of file test_argparse.py.

Definition at line 927 of file test_argparse.py.

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

Definition at line 928 of file test_argparse.py.


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