Sollicitatievraag bij Sii Poland

What is a constructor in Python?

Antwoord op sollicitatievraag

Anoniem

19 jan 2019

def __new__(cls) . This is constructor , that was tricky question because most of people this that __init__ is a class constructor.