CMS 3D CMS Logo

Classes | Functions
ConfigToolBase Namespace Reference

Classes

class  ConfigToolBase
 
class  parameter
 

Functions

def new_SortedKeysDict__copy__ (self)
 
def new_SortedKeysDict__deepcopy__ (self, memo=None)
 

Function Documentation

def ConfigToolBase.new_SortedKeysDict__copy__ (   self)

Definition at line 11 of file ConfigToolBase.py.

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

Definition at line 15 of file ConfigToolBase.py.

References triggerObjects_cff.id.

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