MCPcopy Index your code
hub / github.com/RustPython/RustPython / gettext

Method gettext

Lib/gettext.py:290–293  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

288 self._fallback = fallback
289
290 def gettext(self, message):
291 if self._fallback:
292 return self._fallback.gettext(message)
293 return message
294
295 def ngettext(self, msgid1, msgid2, n):
296 if self._fallback:

Callers 2

test_nested_fallbacksMethod · 0.95

Calls 1

gettextMethod · 0.45

Tested by 2

test_nested_fallbacksMethod · 0.76