[python] Enable the cmath module

This commit is contained in:
Romain Goyet
2017-11-06 16:38:58 +01:00
parent 2283736dfe
commit 247ea217fa
2 changed files with 5 additions and 2 deletions

View File

@@ -126,6 +126,7 @@ Q(classmethod)
Q(clear)
Q(close)
Q(closure)
Q(cmath)
Q(complex)
Q(const)
Q(copy)
@@ -206,7 +207,9 @@ Q(oct)
Q(open)
Q(opt_level)
Q(ord)
Q(phase)
Q(pi)
Q(polar)
Q(pop)
Q(popitem)
Q(pow)
@@ -214,6 +217,7 @@ Q(print)
Q(radians)
Q(range)
Q(real)
Q(rect)
Q(remove)
Q(replace)
Q(repr)
@@ -254,4 +258,3 @@ Q(value)
Q(values)
Q(zip)
Q({:#b})

View File

@@ -46,7 +46,7 @@
#define MICROPY_PY_ATTRTUPLE (0)
#define MICROPY_PY_COLLECTIONS (0)
#define MICROPY_PY_MATH (1)
#define MICROPY_PY_CMATH (0)
#define MICROPY_PY_CMATH (1)
#define MICROPY_PY_IO (0)
#define MICROPY_PY_STRUCT (0)
#define MICROPY_PY_SYS (0)