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

I don't think that it's a good idea in general to inherit the construction functions. But if you wanted to do that, classmethod is the way to go, of course.


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

Search: