Logo Search packages:      
Sourcecode: zope-docfindereverywhere version File versions  Download package

def DocFinderEverywhere::DocFinder::analyse::DocFinder::__getitem__ (   self,
  k 
)

allow access by both integer as well as class names.

Definition at line 112 of file analyse.py.

00112                          :
    '''allow access by both integer as well as class names.'''
    if type(k) is IntType: return self._classes[k]
    if self._classDict is None:
      cd= self._classDict= {}
      for c in self._classes: cd[c._name]= c
    return self._classDict[k]

  
  def __len__(self):


Generated by  Doxygen 1.6.0   Back to index