Answer the question
In order to leave comments, you need to log in
Where is the constructor inherited from?
Methods can be overloaded in python3. For example:
class A:
def go(self):
print('A!')
class B(A):
def go(self):
print('B!')
class C:
__init__(self, name):
self.name = name
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question