mirror of
https://github.com/micropython/micropython.git
synced 2026-01-29 15:20:17 +01:00
This returns a complex number, following CPython behaviour. For ports that don't have complex numbers enabled this will raise a ValueError which gives a fail-safe for scripts that were written assuming complex numbers exist.
2.2 KiB
2.2 KiB