less obvious "super"
Francesco Guerrieri
f.guerrieri at gmail.com
Mon Sep 10 08:05:37 EDT 2007
More information about the Python-list mailing list
Mon Sep 10 08:05:37 EDT 2007
- Previous message (by thread): less obvious "super"
- Next message (by thread): easy_install only stable packages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 9/10/07, Nagarajan <naga86 at gmail.com> wrote: > > > > What's the difference b/w: > class A: > and > class A ( object ): > > Thanks. > The first one declares an old-style class. The second one declares a new style class. It's better to use the new-style (always derive from object). See http://www.python.org/doc/newstyle.html for further reading francesco -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20070910/681d4d77/attachment.html>
- Previous message (by thread): less obvious "super"
- Next message (by thread): easy_install only stable packages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list