mirror of
https://github.com/python/cpython
synced 2026-09-29 11:30:29 +03:00
Template: remove __slots__ since that interferes with the ability to mix in
Template and unicode classes.
This commit is contained in:
parent
a331e86452
commit
f43e8bd7b4
1 changed files with 0 additions and 1 deletions
|
|
@ -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]*'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue