-
Damien George authored
This generalises and simplifies the code and follows CPython behaviour. See similar change for floats in a07fc5b6 . Signed-off-by: Damien George <damien@micropython.org>
69dd0139
This generalises and simplifies the code and follows CPython behaviour. See similar change for floats in a07fc5b6 . Signed-off-by: Damien George <damien@micropython.org>