From 038215ab0c8157b00f9112a7be245abf1fbccb16 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Fri, 7 Dec 2001 14:22:13 +0000 Subject: Use an immutable tuple for __slots instead of a mutable list Bump version number --- Doc/whatsnew/whatsnew22.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Doc/whatsnew/whatsnew22.tex') diff --git a/Doc/whatsnew/whatsnew22.tex b/Doc/whatsnew/whatsnew22.tex index e12c591045..f580bbdf3f 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 -- cgit v1.2.1