summaryrefslogtreecommitdiff
path: root/src/zope/tal/taldefs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/zope/tal/taldefs.py')
-rw-r--r--src/zope/tal/taldefs.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/zope/tal/taldefs.py b/src/zope/tal/taldefs.py
index 61d20d1..1a7331d 100644
--- a/src/zope/tal/taldefs.py
+++ b/src/zope/tal/taldefs.py
@@ -14,9 +14,12 @@
"""Common definitions used by TAL and METAL compilation and transformation.
"""
import re
-from zope.tal.interfaces import ITALExpressionErrorInfo
+
from zope.interface import implementer
+from zope.tal.interfaces import ITALExpressionErrorInfo
+
+
#: Version of the specification we implement.
TAL_VERSION = "1.6"
@@ -114,7 +117,7 @@ class I18NError(TALError):
@implementer(ITALExpressionErrorInfo)
-class ErrorInfo(object):
+class ErrorInfo:
"""
Default implementation of
:class:`zope.tal.interfaces.ITALExpressionErrorInfo`.