Commit f43e8bd7 authored by Barry Warsaw's avatar Barry Warsaw

Template: remove __slots__ since that interferes with the ability to mix in

Template and unicode classes.
parent a331e864
......@@ -105,7 +105,6 @@ class _TemplateMetaclass(type):
class Template:
"""A string class for supporting $-substitutions."""
__metaclass__ = _TemplateMetaclass
__slots__ = ['template']
delimiter = r'\$'
idpattern = r'[_a-z][_a-z0-9]*'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment