From f43e8bd7b4c84229fdd4a63650495fe4b9d55f16 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 10 Sep 2004 18:30:42 +0000 Subject: Template: remove __slots__ since that interferes with the ability to mix in Template and unicode classes. --- Lib/string.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/string.py b/Lib/string.py index 863d64e..fd9cc99 100644 --- a/Lib/string.py +++ b/Lib/string.py @@ -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]*' -- cgit v0.12