[Python-checkins] python/dist/src/Lib string.py,1.75,1.76

bwarsaw at users.sourceforge.net bwarsaw at users.sourceforge.net
Fri Sep 10 20:30:45 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5058

Modified Files:
	string.py 
Log Message:
Template: remove __slots__ since that interferes with the ability to mix in
Template and unicode classes.


Index: string.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/string.py,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- string.py	10 Sep 2004 06:21:22 -0000	1.75
+++ string.py	10 Sep 2004 18:30:42 -0000	1.76
@@ -105,7 +105,6 @@
 class Template:
     """A string class for supporting $-substitutions."""
     __metaclass__ = _TemplateMetaclass
-    __slots__ = ['template']
 
     delimiter = r'\$'
     idpattern = r'[_a-z][_a-z0-9]*'



More information about the Python-checkins mailing list