commit | f43e8bd7b4c84229fdd4a63650495fe4b9d55f16 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Fri Sep 10 18:30:42 2004 +0000 |
committer | Barry Warsaw <barry@python.org> | Fri Sep 10 18:30:42 2004 +0000 |
tree | 1b5992b60da997d509658fb09c04852d83877940 | |
parent | a331e86452a088c593f18bbf3f5303d140e2d16e [diff] |
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 863d64e..fd9cc99 100644 --- a/Lib/string.py +++ b/Lib/string.py
@@ -105,7 +105,6 @@ class Template: """A string class for supporting $-substitutions.""" __metaclass__ = _TemplateMetaclass - __slots__ = ['template'] delimiter = r'\$' idpattern = r'[_a-z][_a-z0-9]*'