Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, it is magic the same way other magic methods are, that is, because it is syntactically special and callable (and primarily called by) a syntax other than <instance>.<method>(...) or <class>.<method>(instance, ...)

Specifically, in the case of constructors, via <class>(...).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: