Back to index

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

List of all members.

Static Public Attributes

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

Detailed Description

Test an Optional narg followed by unlimited nargs

Definition at line 1094 of file

Member Data Documentation

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

Definition at line 1097 of file

Definition at line 1098 of file

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

Definition at line 1099 of file

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