Back to index

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

List of all members.

Static Public Attributes

list argument_signatures
list failures = ['a', '-c', 'a -c', '-bx', '-b x']
list successes

Detailed Description

Tests the append_const action for an Optional

Definition at line 738 of file

Member Data Documentation

Initial value:
        Sig('-b', action='append_const', const=Exception, default=['X']),
        Sig('-c', action='append', dest='b'),

Definition at line 741 of file

list test.test_argparse.TestOptionalsActionAppendConstWithDefault.failures = ['a', '-c', 'a -c', '-bx', '-b x'] [static]

Definition at line 745 of file

Initial value:
        ('', NS(b=['X'])),
        ('-b', NS(b=['X', Exception])),
        ('-b -cx -b -cyz', NS(b=['X', Exception, 'x', Exception, 'yz'])),

Definition at line 746 of file

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