summaryrefslogtreecommitdiff
path: root/src/zope
diff options
context:
space:
mode:
Diffstat (limited to 'src/zope')
-rw-r--r--src/zope/i18nmessageid/message.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zope/i18nmessageid/message.py b/src/zope/i18nmessageid/message.py
index 88eef4d..e46cad6 100644
--- a/src/zope/i18nmessageid/message.py
+++ b/src/zope/i18nmessageid/message.py
@@ -15,6 +15,12 @@
"""
__docformat__ = "reStructuredText"
+try:
+ unicode
+except NameError: #pragma NO COVER Python3
+ unicode = str
+
+
class Message(unicode):
"""Message (Python implementation)