mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 21:20:13 +01:00
This generalises and simplifies the code and follows CPython behaviour.
See similar change for floats in a07fc5b640.
Signed-off-by: Damien George <damien@micropython.org>
16 KiB
16 KiB