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

def babiloo-2.0.11::core::dictionary::pystardict::StarDict::get (   self,
  k,
  d = '' 
)

returns translation of the word k from self.dict or d if k not in x.idx

d defaults to empty string

Definition at line 542 of file pystardict.py.

00542                           :
        """
        returns translation of the word k from self.dict or d if k not in x.idx

        d defaults to empty string
        """
        return k in self and self[k] or d

    def has_key(self, k):


Generated by  Doxygen 1.6.0   Back to index