Public Member Functions | |
def | __call__ |
def | __call__ |
def | __init__ |
def | __init__ |
Definition at line 932 of file argparse.py.
def argparse::_AppendConstAction::__init__ | ( | self, | |
option_strings, | |||
dest, | |||
const, | |||
default = None , |
|||
required = False , |
|||
help = None , |
|||
metavar = None |
|||
) |
Definition at line 934 of file argparse.py.
def argparse::_AppendConstAction::__init__ | ( | self, | |
option_strings, | |||
dest, | |||
const, | |||
default = None , |
|||
required = False , |
|||
help = None , |
|||
metavar = None |
|||
) |
Definition at line 945 of file argparse.py.
def argparse::_AppendConstAction::__call__ | ( | self, | |
parser, | |||
namespace, | |||
values, | |||
option_string = None |
|||
) |
Reimplemented from argparse::Action.
Definition at line 952 of file argparse.py.
def argparse::_AppendConstAction::__call__ | ( | self, | |
parser, | |||
namespace, | |||
values, | |||
option_string = None |
|||
) |
Reimplemented from argparse::Action.
Definition at line 963 of file argparse.py.
00963 : 00964 items = _copy.copy(_ensure_value(namespace, self.dest, [])) 00965 items.append(self.const) 00966 setattr(namespace, self.dest, items) 00967 00968