7 ms·
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__()
by ijoshua 18y 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__()