S
stef mientki
hello,
I would like to use instance parameters as a default value, like this:
class PlotCanvas(wx.Window):
def __init__(self)
self.Buf_rp = 0
self.Buf_wp = 0
def Draw ( self, x1 = self.Buf_rp, x2 = self.Buf_wp ) :
is something like this possible ?
thanks,
Stef Mientki
I would like to use instance parameters as a default value, like this:
class PlotCanvas(wx.Window):
def __init__(self)
self.Buf_rp = 0
self.Buf_wp = 0
def Draw ( self, x1 = self.Buf_rp, x2 = self.Buf_wp ) :
is something like this possible ?
thanks,
Stef Mientki