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

Template and unicode classes.
This commit is contained in:
Barry Warsaw 2004-09-10 18:30:42 +00:00
parent a331e86452
commit f43e8bd7b4

View file

@ -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]*'