Commit 1f7d6a63 authored by Raymond Hettinger's avatar Raymond Hettinger

__slots__ went missing from Template.

parent 12827c1f
......@@ -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]*'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment