CMS 3D CMS Logo

Public Member Functions | Static Private Attributes

argparse::Namespace Class Reference

Inheritance diagram for argparse::Namespace:
argparse::_AttributeHolder argparse::_AttributeHolder

List of all members.

Public Member Functions

def __contains__
def __eq__
def __eq__
def __init__
def __init__
def __ne__
def __ne__

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.

01152                                 :
01153         for name in kwargs:
01154             setattr(self, name, kwargs[name])

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 

Member Function Documentation

def argparse::Namespace::__contains__ (   self,
  key 
)

Definition at line 1163 of file argparse.py.

01164                                :
01165         return key in self.__dict__
01166 

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.

01158                            :
01159         return vars(self) == vars(other)

def argparse::Namespace::__ne__ (   self,
  other 
)

Definition at line 1160 of file argparse.py.

01161                            :
01162         return not (self == other)

def argparse::Namespace::__ne__ (   self,
  other 
)

Definition at line 1157 of file argparse.py.

01157                            :
01158         return not (self == other)
01159 
01160 

Member Data Documentation

argparse::Namespace::__hash__ = None [static, private]

Definition at line 1155 of file argparse.py.