diff options
Diffstat (limited to 'src/zope/i18n')
-rw-r--r-- | src/zope/i18n/_compat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zope/i18n/_compat.py b/src/zope/i18n/_compat.py index 00fb20f..f6bf93b 100644 --- a/src/zope/i18n/_compat.py +++ b/src/zope/i18n/_compat.py @@ -1,8 +1,8 @@ # This gives a linting error because unicode is not defined on Python 3: # text_type = str if bytes is not str else unicode try: - # Python 3 + # Python 2 text_type = unicode except NameError: - # Python 2 + # Python 3 text_type = str |