summaryrefslogtreecommitdiffstats
path: root/Lib/string.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2004-09-10 18:30:42 (GMT)
committerBarry Warsaw <barry@python.org>2004-09-10 18:30:42 (GMT)
commitf43e8bd7b4c84229fdd4a63650495fe4b9d55f16 (patch)
tree1b5992b60da997d509658fb09c04852d83877940 /Lib/string.py
parenta331e86452a088c593f18bbf3f5303d140e2d16e (diff)
downloadcpython-f43e8bd7b4c84229fdd4a63650495fe4b9d55f16.zip
cpython-f43e8bd7b4c84229fdd4a63650495fe4b9d55f16.tar.gz
cpython-f43e8bd7b4c84229fdd4a63650495fe4b9d55f16.tar.bz2
Template: remove __slots__ since that interferes with the ability to mix in
Template and unicode classes.
Diffstat (limited to 'Lib/string.py')
-rw-r--r--Lib/string.py1
1 files changed, 0 insertions, 1 deletions
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]*'