mirror of
https://github.com/micropython/micropython.git
synced 2026-03-12 11:50:24 +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>
194 B
194 B