summaryrefslogtreecommitdiffstatshomepage
path: root/py/builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/builtin.c')
-rw-r--r--py/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/builtin.c b/py/builtin.c
index 4ee5c57c62..0d18508aff 100644
--- a/py/builtin.c
+++ b/py/builtin.c
@@ -23,7 +23,7 @@ mp_obj_t mp_builtin___build_class__(int n_args, const mp_obj_t *args) {
// we differ from CPython: we set the new __locals__ object here
mp_map_t *old_locals = rt_locals_get();
- mp_map_t *class_locals = mp_map_new(MP_MAP_QSTR, 0);
+ mp_map_t *class_locals = mp_map_new(0);
rt_locals_set(class_locals);
// call the class code