test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
ConfigToolBase Namespace Reference

Classes

class  ConfigToolBase
 
class  parameter
 

Functions

def new_SortedKeysDict__copy__
 
def new_SortedKeysDict__deepcopy__
 

Function Documentation

def ConfigToolBase.new_SortedKeysDict__copy__ (   self)

Definition at line 11 of file ConfigToolBase.py.

11 
13  return self.__class__(self)
14 dicttypes.SortedKeysDict.__copy__ = new_SortedKeysDict__copy__
def new_SortedKeysDict__copy__
def ConfigToolBase.new_SortedKeysDict__deepcopy__ (   self,
  memo = None 
)

Definition at line 15 of file ConfigToolBase.py.

15 
16 def new_SortedKeysDict__deepcopy__(self, memo=None):
17  from copy import deepcopy
18  if memo is None:
19  memo = {}
20  d = memo.get(id(self), None)
21  if d is not None:
22  return d
23  memo[id(self)] = d = self.__class__()
24  d.__init__(deepcopy(self.items(), memo))
25  return d
26 dicttypes.SortedKeysDict.__deepcopy__ = new_SortedKeysDict__deepcopy__
27 
def new_SortedKeysDict__deepcopy__