Back to index

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

List of all members.

Static Public Attributes

list argument_signatures
list failures = ['', '--foo', 'a', 'b']
list successes

Detailed Description

Test three Positionals: no nargs, one or more nargs and 1 nargs

Definition at line 1049 of file

Member Data Documentation

Initial value:
        Sig('bar', nargs='+'),
        Sig('baz', nargs=1),

Definition at line 1052 of file

Definition at line 1057 of file

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

Definition at line 1058 of file

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