Back to index

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

List of all members.

Static Public Attributes

list argument_signatures = [Sig('--foo')]
list failures = ['--foo', '-f', '-f a', 'a', '--foo -x', '--foo --bar']
list successes

Detailed Description

Test an Optional with a double-dash option string

Definition at line 357 of file

Member Data Documentation

Definition at line 360 of file

list test.test_argparse.TestOptionalsDoubleDash.failures = ['--foo', '-f', '-f a', 'a', '--foo -x', '--foo --bar'] [static]

Definition at line 361 of file

Initial value:
        ('', NS(foo=None)),
        ('--foo a', NS(foo='a')),
        ('--foo=a', NS(foo='a')),
        ('--foo -2.5', NS(foo='-2.5')),
        ('--foo=-2.5', NS(foo='-2.5')),

Definition at line 362 of file

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