def __init__(self, *args, **kwargs): """Constructor to initialize some cache properties.""" from weblate.utils.stats import LanguageStats super().__init__(*args, **kwargs) self._plural_examples = {} self.stats = LanguageStats(self)
def __init__(self, *args, **kwargs): """Constructor to initialize some cache properties.""" super(Language, self).__init__(*args, **kwargs) self._plural_examples = {} self.stats = LanguageStats(self)