1

I have found two different ways to initialize a thread.

I would like to know what is best between:

class Class_name(Thread):

    """docstring for the class"""

    def __init__(self):
        super(Class_name, self).__init__()

or

class Class_name(Thread):

    """docstring for the class"""

    def __init__(self):
        Thread.__init__(self)

If anyone knows which one is best and what differences it makes, it would help me to choose.

Nordle
  • 2,915
  • 3
  • 16
  • 34

0 Answers0