python - Calling a superclass function for a class with multiple superclass -


i have class extends 2 classes, 1 of them including threading.thread. how call start method of threading.thread subclass?

class poller(threading.thread, <some other class>):     """     poller code      """     def start():         return super(poller,self).start()  

i want start thread class' start function. not going work right?

if want sure call thread's start can do:

def start(self):     threading.thread.start(self) 

note avoid other base class's start method , may not want


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -