ArrayArgument Class Reference
+ Inheritance diagram for ArrayArgument:

Public Member Functions

def __init__ (self, type, n)
 
- Public Member Functions inherited from ListArgument
def __call__ (self, string)
 

Public Attributes

 metavar
 
- Public Attributes inherited from ListArgument
 type
 
 nargs
 
 values
 
 metavar
 

Detailed Description

 used in type keyword of add_argument

 example:
 p.add_argument('-threshold', type=ArrayArgument(PathArgument, 2)