Module EDList
[hide private]
[frames] | no frames]

Source Code for Module EDList

 1   
 2  ################################################################################ 
 3  # Warning: Deprecation mode  
 4  # This code will be deleted by ... June 7th 2010 
 5  ################################################################################ 
 6   
 7   
 8  from EDVerbose import EDVerbose 
 9  _strDeprecate = "Deprecation by Monday 7th June 2010 of EDList, called " 
10 -class EDList(list):
11 """ 12 Interface for EDList objects. 13 """
14 - def __init__(self, _oList=[]):
15 EDVerbose.WARNING(_strDeprecate + "init") 16 # ALObject.__init__(self) 17 list.__init__(self) 18 for i in _oList: 19 self.append(i)
20 21
22 - def getNumberObjects(self):
23 EDVerbose.WARNING(_strDeprecate + "getNumberObjects") 24 return len(self)
25