diff --git a/python/port/genhdr/qstrdefs.in.h b/python/port/genhdr/qstrdefs.in.h index 4912aabff..8c23b40a9 100644 --- a/python/port/genhdr/qstrdefs.in.h +++ b/python/port/genhdr/qstrdefs.in.h @@ -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}) - diff --git a/python/port/mpconfigport.h b/python/port/mpconfigport.h index 8118de7ae..f10d9effc 100644 --- a/python/port/mpconfigport.h +++ b/python/port/mpconfigport.h @@ -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)