CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Private Attributes
argparse.Namespace Class Reference
Inheritance diagram for argparse.Namespace:
argparse._AttributeHolder argparse._AttributeHolder

Public Member Functions

def __contains__
 
def __eq__
 
def __eq__
 
def __init__
 
def __init__
 
def __ne__
 
def __ne__
 
- Public Member Functions inherited from argparse._AttributeHolder
def __repr__
 
def __repr__
 

Static Private Attributes

 __hash__ = None
 

Detailed Description

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.

Constructor & Destructor Documentation

def argparse.Namespace.__init__ (   self,
  kwargs 
)

Definition at line 1151 of file argparse.py.

Referenced by argparse.Namespace.__init__(), and argparse.Namespace.__ne__().

1152  def __init__(self, **kwargs):
1153  for name in kwargs:
1154  setattr(self, name, kwargs[name])
def argparse.Namespace.__init__ (   self,
  kwargs 
)

Definition at line 1150 of file argparse.py.

References argparse.Namespace.__init__().

1151  def __init__(self, **kwargs):
1152  for name in kwargs:
1153  setattr(self, name, kwargs[name])

Member Function Documentation

def argparse.Namespace.__contains__ (   self,
  key 
)

Definition at line 1163 of file argparse.py.

1164  def __contains__(self, key):
1165  return key in self.__dict__
1166 
def argparse.Namespace.__eq__ (   self,
  other 
)

Definition at line 1154 of file argparse.py.

References argparse.Namespace.__eq__().

1155  def __eq__(self, other):
1156  return vars(self) == vars(other)
def argparse.Namespace.__eq__ (   self,
  other 
)

Definition at line 1157 of file argparse.py.

Referenced by argparse.Namespace.__eq__().

1158  def __eq__(self, other):
1159  return vars(self) == vars(other)
def argparse.Namespace.__ne__ (   self,
  other 
)

Definition at line 1157 of file argparse.py.

References argparse.Namespace.__init__(), argparse.Namespace.__ne__(), and dbtoconf.object.

1158  def __ne__(self, other):
1159  return not (self == other)
1160 
def argparse.Namespace.__ne__ (   self,
  other 
)

Definition at line 1160 of file argparse.py.

Referenced by argparse.Namespace.__ne__().

1161  def __ne__(self, other):
1162  return not (self == other)

Member Data Documentation

argparse.Namespace.__hash__ = None
staticprivate

Definition at line 1155 of file argparse.py.