Hello,
I've written a class which inherits from threading.Thread. This class has it's own init function where it takes a GUI object as one of it's parameters. This is where my application fails, given me the following error:
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 426, in __init__
assert group is None, "group argument must be None for now"
class FillThread(threading.Thread):
def __init(self, tree):
threading.Thread.__init__(self)
fill_thread = FillThread(self.feed_tree)
Regards Jonas.
Never mind it's __init__ not __init.
To hasty I guess
···
Op 30-dec-2009, om 15:42 heeft Jonas Geiregat het volgende geschreven:
Hello,
I've written a class which inherits from threading.Thread. This class has it's own init function where it takes a GUI object as one of it's parameters. This is where my application fails, given me the following error:
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 426, in __init__
assert group is None, "group argument must be None for now"
class FillThread(threading.Thread):
def __init(self, tree):
threading.Thread.__init__(self)
fill_thread = FillThread(self.feed_tree)
Regards Jonas.
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
Met vriendelijke groeten,
Jonas Geiregat
jonas@geiregat.org