From: Barry Warsaw Date: Fri, 10 Sep 2004 18:30:42 +0000 (+0000) Subject: Template: remove __slots__ since that interferes with the ability to mix in X-Git-Tag: v2.4b1~300 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f43e8bd7b4c84229fdd4a63650495fe4b9d55f16;p=python Template: remove __slots__ since that interferes with the ability to mix in Template and unicode classes. --- diff --git a/Lib/string.py b/Lib/string.py index 863d64e480..fd9cc99231 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]*'