mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
To be consistent with MP_UNARY_OP_INT_FLOAT and MP_UNARY_OP_INT_COMPLEX, and allow int() to first check if a type supports __int__ before trying other things (as per CPython). Signed-off-by: Damien George <damien@micropython.org>
124 B
124 B