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 test_argparse.py.


Member Data Documentation

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

Definition at line 1067 of file test_argparse.py.

Definition at line 1072 of file test_argparse.py.

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 test_argparse.py.


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