CMS 3D CMS Logo

List of all members | Public Member Functions | Properties | Private Member Functions
DictTypes.FixedKeysDict Class Reference
Inheritance diagram for DictTypes.FixedKeysDict:

Public Member Functions

def __init__ (self, args, kw)
 
def __new__ (cls, args, kw)
 
def __repr__ (self)
 

Properties

 _blocked_attribute = property(_blocked_attribute)
 

Private Member Functions

def _blocked_attribute (obj)
 

Detailed Description

Definition at line 72 of file DictTypes.py.

Constructor & Destructor Documentation

def DictTypes.FixedKeysDict.__init__ (   self,
  args,
  kw 
)

Definition at line 83 of file DictTypes.py.

83  def __init__(self, *args, **kw):
84  pass
def __init__(self, args, kw)
Definition: DictTypes.py:83

Member Function Documentation

def DictTypes.FixedKeysDict.__new__ (   cls,
  args,
  kw 
)

Definition at line 79 of file DictTypes.py.

Referenced by SequenceTypes._ModuleSequenceType.copyAndExclude().

79  def __new__(cls, *args, **kw):
80  new = dict.__new__(cls)
81  dict.__init__(new, *args, **kw)
82  return new
def __new__(cls, args, kw)
Definition: DictTypes.py:79
def DictTypes.FixedKeysDict.__repr__ (   self)

Definition at line 85 of file DictTypes.py.

85  def __repr__(self):
86  return "FixedKeysDict(%s)" % dict.__repr__(self)
87 
88 
def DictTypes.FixedKeysDict._blocked_attribute (   obj)
private

Definition at line 73 of file DictTypes.py.

References DictTypes.FixedKeysDict._blocked_attribute.

74  raise AttributeError("A FixedKeysDict cannot be modified.")

Property Documentation

DictTypes.FixedKeysDict._blocked_attribute = property(_blocked_attribute)
staticprivate

Definition at line 75 of file DictTypes.py.

Referenced by DictTypes.FixedKeysDict._blocked_attribute().