]> granicus.if.org Git - python/commitdiff
Use an immutable tuple for __slots instead of a mutable list
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 7 Dec 2001 14:22:13 +0000 (14:22 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 7 Dec 2001 14:22:13 +0000 (14:22 +0000)
Bump version number

Doc/whatsnew/whatsnew22.tex

index e12c591045dbdd785177bf21ec9ad3531a140d52..f580bbdf3fba1a2bdfec894ec9cc7def461750a4 100644 (file)
@@ -3,7 +3,7 @@
 % $Id$
 
 \title{What's New in Python 2.2}
-\release{0.09}
+\release{0.10}
 \author{A.M. Kuchling}
 \authoraddress{\email{akuchlin@mems-exchange.org}}
 \begin{document}
@@ -417,7 +417,7 @@ this clear:
 
 \begin{verbatim}
 >>> class C(object):
-...     __slots__ = ['template', 'name']
+...     __slots__ = ('template', 'name')
 ...
 >>> obj = C()
 >>> print obj.template