Hacker News new | ask | show | jobs
by ijoshua 6652 days ago
I don’t know the details of the compiler, but the negation operator on int objects also has a corresponding method: `__neg__`

-1 == (1).__neg__()