Next / Previous / Contents / Shipman's homepage

18.7. TaxaTree.__getitem__(): Retrieve a taxon by scientific name

nomcompile3
# - - -   T a x a T r e e . _ _ g e t i t e m _ _

    def __getitem__ ( self, sci ):
        '''Find the taxon with a given scientific name.
        '''
        return self.__sciMap[sci]