summaryrefslogtreecommitdiff
path: root/src/zope/i18n/interfaces/__init__.py
diff options
context:
space:
mode:
authorMarius Gedminas <marius@gedmin.as>2019-07-10 15:55:36 +0300
committerGitHub <noreply@github.com>2019-07-10 15:55:36 +0300
commitfc0389ad828d42f3e98aa2d1bae96b203c1b7b5e (patch)
tree7a3a7067c14a913223c9429a6ab3416118e3f86c /src/zope/i18n/interfaces/__init__.py
parentb6f4f1710d34328f7d32eff692f6c61cd78bb455 (diff)
parent0b1ab1c6da31996f63891f12fce50e2e1e703453 (diff)
downloadzope-i18n-fc0389ad828d42f3e98aa2d1bae96b203c1b7b5e.tar.gz
Merge pull request #42 from zopefoundation/fix-interface
Fix the signature of IMessageCatalog.getPluralMessage()
Diffstat (limited to 'src/zope/i18n/interfaces/__init__.py')
-rw-r--r--src/zope/i18n/interfaces/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zope/i18n/interfaces/__init__.py b/src/zope/i18n/interfaces/__init__.py
index 11d8c21..c5a3328 100644
--- a/src/zope/i18n/interfaces/__init__.py
+++ b/src/zope/i18n/interfaces/__init__.py
@@ -60,14 +60,14 @@ class IMessageCatalog(Interface):
An exception is raised if the message id is not found.
"""
-
+
def queryMessage(msgid, default=None):
"""Look for the appropriate text for the given message id.
If the message id is not found, default is returned.
"""
- def getPluralMessage(self, singular, plural, n):
+ def getPluralMessage(singular, plural, n):
"""Get the appropriate text for the given message id and the
plural id.
@@ -328,7 +328,7 @@ class IFormat(Interface):
class INumberFormat(IFormat):
- """Specific number formatting interface. Here are the formatting
+ r"""Specific number formatting interface. Here are the formatting
rules (I modified the rules from ICU a bit, since I think they did not
agree well with the real world XML formatting strings):