Use an immutable tuple for __slots instead of a mutable list

Bump version number
This commit is contained in:
Andrew M. Kuchling 2001-12-07 14:22:13 +00:00
parent 4e173846c8
commit 038215ab0c
1 changed files with 2 additions and 2 deletions

View 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