Lines Matching refs:def
23 def __init__(self, description="My program's description", prefix_chars='-', add_help=True):
28 def add_argument_group(self, name):
36 def add_argument(self, *opt_strs, **kwargs):
38 # def add_argument(self, opt_str, action='store', dest=None, metavar=None, help=''):
42 def parse_args(self, arguments=sys.argv[1:]):
49 def print_help(self):
54 def __init__(self, option_group):
57 def add_argument(self, *opt_strs, **kwargs):
71 def __init__(self, d):
74 def __str__(self):