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,698
  • 3
  • 12
  • 32

0 Answers0