Back to index

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

List of all members.

Static Public Attributes

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

Detailed Description

Test a Positional with 2 nargs followed by one optional

Definition at line 989 of file

Member Data Documentation

list test.test_argparse.TestPositionalsNargs2Optional.argument_signatures = [Sig('foo', nargs=2), Sig('bar', nargs='?')] [static]

Definition at line 992 of file

list test.test_argparse.TestPositionalsNargs2Optional.failures = ['', '--foo', 'a', 'a b c d'] [static]

Definition at line 993 of file

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

Definition at line 994 of file

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