CMS 3D CMS Logo

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

Public Member Functions

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

Detailed Description

Simple object for storing attributes.

Implements equality by attribute names and values, and provides a simple
string representation.

Definition at line 1143 of file argparse.py.

Constructor & Destructor Documentation

def argparse.Namespace.__init__ (   self,
  kwargs 
)

Definition at line 1150 of file argparse.py.

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

Member Function Documentation

def argparse.Namespace.__eq__ (   self,
  other 
)

Definition at line 1154 of file argparse.py.

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

Definition at line 1157 of file argparse.py.

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