]> granicus.if.org Git - python/commitdiff
Template: remove __slots__ since that interferes with the ability to mix in
authorBarry Warsaw <barry@python.org>
Fri, 10 Sep 2004 18:30:42 +0000 (18:30 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 10 Sep 2004 18:30:42 +0000 (18:30 +0000)
Template and unicode classes.

Lib/string.py

index 863d64e480124c4eadd696014f4cdc879bbe170c..fd9cc99231ec49edad8c0c609a1729ff9afd6ac4 100644 (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]*'