MCPcopy Create free account
hub / github.com/EasyIME/PIME / __init__

Method __init__

python/python3/tornado/locale.py:518–523  ·  view source on GitHub ↗
(self, code: str, translations: gettext.NullTranslations)

Source from the content-addressed store, hash-verified

516 """Locale implementation using the `gettext` module."""
517
518 def __init__(self, code: str, translations: gettext.NullTranslations) -> None:
519 self.ngettext = translations.ngettext
520 self.gettext = translations.gettext
521 # self.gettext must exist before __init__ is called, since it
522 # calls into self.translate
523 super().__init__(code)
524
525 def translate(
526 self,

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected