summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-12-07 14:22:13 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-12-07 14:22:13 (GMT)
commit038215ab0c8157b00f9112a7be245abf1fbccb16 (patch)
treeddc954598e84a12ae2c915185bddb42e1295a49f
parent4e173846c8688402c81d181a58b1fd787f88527a (diff)
downloadcpython-038215ab0c8157b00f9112a7be245abf1fbccb16.zip
cpython-038215ab0c8157b00f9112a7be245abf1fbccb16.tar.gz
cpython-038215ab0c8157b00f9112a7be245abf1fbccb16.tar.bz2
Use an immutable tuple for __slots instead of a mutable list
Bump version number
-rw-r--r--Doc/whatsnew/whatsnew22.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/whatsnew22.tex b/Doc/whatsnew/whatsnew22.tex
index e12c591..f580bbd 100644
--- a/Doc/whatsnew/whatsnew22.tex
+++ b/Doc/whatsnew/whatsnew22.tex
@@ -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