Back to index

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

List of all members.

Static Public Attributes

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

Detailed Description

Test a Positional with 2 nargs followed by one with unlimited

Definition at line 968 of file

Member Data Documentation

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

Definition at line 971 of file

Definition at line 972 of file

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

Definition at line 973 of file

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