Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
ijoshua
· 18y ago · 0 comments
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__()
Comments
No comments yet.
Better HN