Re: passing a tuple into a class function as a single argument

2010-11-26 Thread Mel
[email protected] wrote: > Hi everyone, > > The following program doesn't work as expected: > > > #Python 2.7 & wxPython 2.9 > > import wx > > class MyFrame(wx.Frame): > """ We simply derive a new class of Frame. """ > def __init__(self, parent, title): > wx.Frame.__init__(se

passing a tuple into a class function as a single argument

2010-11-26 Thread [email protected]
Hi everyone, The following program doesn't work as expected: #Python 2.7 & wxPython 2.9 import wx class MyFrame(wx.Frame): """ We simply derive a new class of Frame. """ def __init__(self, parent, title): wx.Frame.__init__(self, parent, title=title, size=(200,100)) self