Override method name and original method access

Donn Ingle donn.ingle at gmail.com
Tue Nov 13 23:06:13 EST 2007


Chris Mellon wrote:
>  The use of super()
> (and new style classes) should be the default implementation,

To get some clarity on this subject, how do I make sure my classes
are "new"? I've got the idea that my hierarchy must start from a base-class
that explicitly derives from Object <class top(Object):> and not <class
top:>.
I'm using GTK and one of them is <class Canvas(gtk.DrawingArea)> how do I
make sure Canvas is "new"?

It's fuzzy. And I have read the docs but they're fuzzy too :)

/d




More information about the Python-list mailing list