CMS 3D CMS Logo

List of all members | Public Member Functions
argparse.Namespace Class Reference
Inheritance diagram for argparse.Namespace:
argparse._AttributeHolder

Public Member Functions

def __eq__ (self, other)
 
def __init__ (self, kwargs)
 
def __ne__ (self, other)
 
- Public Member Functions inherited from argparse._AttributeHolder
def __repr__ (self)
 

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.

1150  def __init__(self, **kwargs):
1151  for name in kwargs:
1152  setattr(self, name, kwargs[name])
1153 
def __init__(self, kwargs)
Definition: argparse.py:1150

Member Function Documentation

def argparse.Namespace.__eq__ (   self,
  other 
)

Definition at line 1154 of file argparse.py.

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

Definition at line 1157 of file argparse.py.

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