Back to index

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

List of all members.

Static Public Attributes

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

Detailed Description

Test three Positionals: no nargs, optional narg and 1 nargs

Definition at line 1064 of file

Member Data Documentation

Initial value:
        Sig('bar', nargs='?', default=0.625),
        Sig('baz', nargs=1),

Definition at line 1067 of file

Definition at line 1072 of file

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

Definition at line 1073 of file

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