Logo Search packages:      
Sourcecode: babiloo version File versions  Download package

def babiloo-2.0.11::core::dictionary::pystardict::_StarDictIdx::__getitem__ (   self,
  word 
)

returns tuple (word_data_offset, word_data_size,) for word in .dict

@note: here may be placed flexible search realization

Definition at line 184 of file pystardict.py.

00184                                :
        """
        returns tuple (word_data_offset, word_data_size,) for word in .dict

        @note: here may be placed flexible search realization
        """
        if isinstance(word, unicode):
            word = word.encode('utf8')
        return self._idx[tuple(word)]

    def __contains__(self, k):


Generated by  Doxygen 1.6.0   Back to index