0

receive class inherits Thread class and inside def __init__(self,rec) function there is : Thread.__init__(self). does this Thread.__init__(self) the same as super().__init__(self)?

import threading
class receive(Thread):
     def __init__(self,rec):
          Thread.__init__(self)
          self.rec=rec
Blckknght
  • 93,977
  • 11
  • 112
  • 159
kan
  • 3
  • 3

0 Answers0