Commit d927348b authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Use an immutable tuple for __slots instead of a mutable list

Bump version number
parent bbf892e3
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment