diff options
| author | Raymond Hettinger <python@rcn.com> | 2004-09-10 06:21:22 +0000 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2004-09-10 06:21:22 +0000 |
| commit | 1f7d6a633f2031053661da9b728380200d1486be (patch) | |
| tree | 8991dba2ecece2942c8053572c288905bcca5ba5 /Lib/string.py | |
| parent | 12827c1fa9e6c87248fa1e5e4341066e41ce4ffb (diff) | |
| download | cpython-git-1f7d6a633f2031053661da9b728380200d1486be.tar.gz | |
__slots__ went missing from Template.
Diffstat (limited to 'Lib/string.py')
| -rw-r--r-- | Lib/string.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/string.py b/Lib/string.py index fd9cc99231..863d64e480 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]*' |
