summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2022-12-30 11:09:07 -0600
committerGitHub <noreply@github.com>2022-12-30 11:09:07 -0600
commit240f34a18cde2473922bcc139ee92ee8b6978ce2 (patch)
treef7c7b75cedfbfa3bb17257abd55d2eeaae8facec /src
parent4703e60eb7ddb870bf2cc69eaafd8e12fa966636 (diff)
parent93a69202dc225dc5ae659824751f59c2d33f6373 (diff)
downloadpyramid-240f34a18cde2473922bcc139ee92ee8b6978ce2.tar.gz
pyramid-240f34a18cde2473922bcc139ee92ee8b6978ce2.tar.bz2
pyramid-240f34a18cde2473922bcc139ee92ee8b6978ce2.zip
Merge pull request #3717 from stefanor/py311
Python 3.11 Support
Diffstat (limited to 'src')
-rw-r--r--src/pyramid/i18n.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/pyramid/i18n.py b/src/pyramid/i18n.py
index cded99ca5..e7710f08d 100644
--- a/src/pyramid/i18n.py
+++ b/src/pyramid/i18n.py
@@ -335,12 +335,6 @@ class Translations(gettext.GNUTranslations):
"""
return self._domains.get(domain, self).gettext(message)
- def ldgettext(self, domain, message):
- """Like ``lgettext()``, but look the message up in the specified
- domain.
- """
- return self._domains.get(domain, self).lgettext(message)
-
def dugettext(self, domain, message):
"""Like ``ugettext()``, but look the message up in the specified
domain.
@@ -353,12 +347,6 @@ class Translations(gettext.GNUTranslations):
"""
return self._domains.get(domain, self).ngettext(singular, plural, num)
- def ldngettext(self, domain, singular, plural, num):
- """Like ``lngettext()``, but look the message up in the specified
- domain.
- """
- return self._domains.get(domain, self).lngettext(singular, plural, num)
-
def dungettext(self, domain, singular, plural, num):
"""Like ``ungettext()`` but look the message up in the specified
domain.