[python] Enable builtins frozenset

This commit is contained in:
Romain Goyet
2018-06-08 09:43:45 +02:00
committed by EmilieNumworks
parent 8acf50b50c
commit e1b3e107da
2 changed files with 4 additions and 0 deletions

View File

@@ -181,6 +181,7 @@ Q(format)
Q(frexp)
Q(from_bytes)
Q(fromkeys)
Q(frozenset)
Q(function)
Q(gamma)
Q(generator)

View File

@@ -44,6 +44,9 @@
// Whether to support bytearray object
#define MICROPY_PY_BUILTINS_BYTEARRAY (0)
// Whether to support frozenset object
#define MICROPY_PY_BUILTINS_FROZENSET (1)
// Whether to support property object
#define MICROPY_PY_BUILTINS_PROPERTY (0)