From 1f7d6a633f2031053661da9b728380200d1486be Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 10 Sep 2004 06:21:22 +0000 Subject: __slots__ went missing from Template. --- Lib/string.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/string.py b/Lib/string.py index fd9cc99..863d64e 100644 --- a/Lib/string.py +++ b/Lib/string.py @@ -105,6 +105,7 @@ 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