MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / install

Method install

tools/python-3.11.9-amd64/Lib/gettext.py:315–321  ·  view source on GitHub ↗
(self, names=None)

Source from the content-addressed store, hash-verified

313 return self._charset
314
315 def install(self, names=None):
316 import builtins
317 builtins.__dict__['_'] = self.gettext
318 if names is not None:
319 allowed = {'gettext', 'ngettext', 'npgettext', 'pgettext'}
320 for name in allowed & set(names):
321 builtins.__dict__[name] = getattr(self, name)
322
323
324class GNUTranslations(NullTranslations):

Callers 1

installFunction · 0.45

Calls 1

setFunction · 0.50

Tested by

no test coverage detected