def reverse(self, test): if test not in self.from_test: raise LanguageReverseError(test) return (self.from_test[test], None)
def reverse(self, podnapisi): if podnapisi not in self.from_podnapisi: raise LanguageReverseError(podnapisi) return self.from_podnapisi[podnapisi]