Update of /cvsroot/py-howto/pyhowto
In directory usw-pr-cvs1:/tmp/cvs-serv7155
Modified Files:
python-22.tex
Log Message:
Use an immutable tuple for __slots instead of a mutable list
Bump version number
Index: python-22.tex
===================================================================
RCS file: /cvsroot/py-howto/pyhowto/python-22.tex,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -r1.50 -r1.51
*** python-22.tex 2001/12/03 20:58:29 1.50
--- python-22.tex 2001/12/07 14:22:13 1.51
***************
*** 4,8 ****
\title{What's New in Python 2.2}
! \release{0.09}
\author{A.M. Kuchling}
\authoraddress{\email{aku...@me...}}
--- 4,8 ----
\title{What's New in Python 2.2}
! \release{0.10}
\author{A.M. Kuchling}
\authoraddress{\email{aku...@me...}}
***************
*** 418,422 ****
\begin{verbatim}
>>> class C(object):
! ... __slots__ = ['template', 'name']
...
>>> obj = C()
--- 418,422 ----
\begin{verbatim}
>>> class C(object):
! ... __slots__ = ('template', 'name')
...
>>> obj = C()
|