Domanda di colloquio di Sii Poland

What is a constructor in Python?

Risposta di colloquio

Anonimo

19 gen 2019

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