Back to index

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

List of all members.

Static Public Attributes

list argument_signatures = [Sig('foo', nargs='?'), Sig('bar', nargs=1)]
list failures = ['', '--foo', 'a b c']
list successes

Detailed Description

Test a Positional with an Optional nargs followed by one with 1

Definition at line 1023 of file

Member Data Documentation

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

Definition at line 1026 of file

Definition at line 1027 of file

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

Definition at line 1028 of file

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