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

Public API refers to the user of the class, not the implementer. You never call __init__ directly. __new__ allows modifying object creation itself for the implementer, but the user of the class will never call it.


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

Search: