2
我继承了threading.Thread
类,它目前看起来是这样的:如果仅调用super .__ init__,那么是否需要__init__?
class MyThread(threading.Thread):
def __init__(self:
super(MyThread, self).__init__()
def run(self):
# Do some stuff
是在这种情况下所需要的__init__
?如果我放弃它,是否会自动调用?
正是我在找什么。 – 2014-10-29 05:25:48