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

That's very nice. I tried to go for such an example originally but I only tried __mul__ because I thought it's like in Lua where __mul gets used even if only the second operand has a custom one.


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

Search: