Re: [Tutor] new book available
Magnus Lycka
magnus at thinkware.se
Tue Sep 9 15:38:28 EDT 2003
> One of the things that caught my attention was the
> author's distinguishing "new" style class definitions
> from "old" style ones.
>
> >>>class Test:
>
> is an old style definition.
>
> >>>class Test (object):
>
> is the newer style. I don't think I've seen this point
> discussed on PythonTutor or elsewhere. [Have I missed
> something?]
Yes, you seem to have missed Python 2.2. :)
See http://www.python.org/doc/2.2.3/whatsnew/
and http://www.python.org/2.2.3/descrintro.html
--
Magnus Lycka, Thinkware AB
Alvans vag 99, SE-907 50 UMEA, SWEDEN
phone: int+46 70 582 80 65, fax: int+46 70 612 80 65
http://www.thinkware.se/ mailto:magnus at thinkware.se
More information about the Tutor
mailing list