Public Member Functions | |
def | __contains__ |
def | __eq__ |
def | __eq__ |
def | __init__ |
def | __init__ |
def | __ne__ |
def | __ne__ |
Static Private Attributes | |
__hash__ = None |
Simple object for storing attributes. Implements equality by attribute names and values, and provides a simple string representation.
Definition at line 1144 of file argparse.py.
def argparse::Namespace::__init__ | ( | self, | |
kwargs | |||
) |
Definition at line 1151 of file argparse.py.
def argparse::Namespace::__init__ | ( | self, | |
kwargs | |||
) |
Definition at line 1150 of file argparse.py.
01150 : 01151 for name in kwargs: 01152 setattr(self, name, kwargs[name]) 01153
def argparse::Namespace::__contains__ | ( | self, | |
key | |||
) |
Definition at line 1163 of file argparse.py.
def argparse::Namespace::__eq__ | ( | self, | |
other | |||
) |
Definition at line 1154 of file argparse.py.
01154 : 01155 return vars(self) == vars(other) 01156
def argparse::Namespace::__eq__ | ( | self, | |
other | |||
) |
Definition at line 1157 of file argparse.py.
def argparse::Namespace::__ne__ | ( | self, | |
other | |||
) |
Definition at line 1160 of file argparse.py.
def argparse::Namespace::__ne__ | ( | self, | |
other | |||
) |
Definition at line 1157 of file argparse.py.
01157 : 01158 return not (self == other) 01159 01160
argparse::Namespace::__hash__ = None [static, private] |
Definition at line 1155 of file argparse.py.