|A question about Cody Precord's Cookbook||Boštjan Mejak||2/17/11 3:26 PM|
Hello, this question is only intended for you, Cody. Why do you fancy the super() method in the class' __init__ for the examples in your book? Isn't, for example, wx.Frame.__init__(...) good enough? Please explain.
|Re: [wxPython-users] A question about Cody Precord's Cookbook||Robin Dunn||2/18/11 9:34 AM|
In most cases there isn't any difference. In cases where you have
|Re: [wxPython-users] A question about Cody Precord's Cookbook||Cody Precord||2/18/11 9:59 AM|
On Fri, Feb 18, 2011 at 11:34 AM, Robin Dunn <ro...@alldunn.com> wrote:
It also makes it easier to do re-factoring.
# do custom stuff...
Now say later on I need to change the Foo class to inherit from
i.e) class Foo(Bar):
Since I didn't use super above I would have to go through the whole
|Re: [wxPython-users] A question about Cody Precord's Cookbook||Boštjan Mejak||2/18/11 2:38 PM|