MCPcopy Index your code
hub / github.com/python/cpython / gettext

Method gettext

Lib/test/test_gettext.py:779–780  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

777
778class FallbackTranslations(gettext.NullTranslations):
779 def gettext(self, message):
780 return f'gettext: {message}'
781
782 def ngettext(self, msgid1, msgid2, n):
783 return f'ngettext: {msgid1}, {msgid2}, {n}'

Callers 1

gettextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected