ListArgument Class Reference
+ Inheritance diagram for ListArgument:

Public Member Functions

def __init__ (self, type, nargs=' *')
 
def __call__ (self, string)
 

Public Attributes

 type
 
 nargs
 
 values
 
 metavar
 

Detailed Description

 used in type keyword of add_argument

 example:
 p.add_argument('-inFile', type=ListArgument(PathArgument)

 will become:
 Type : list of Path