summaryrefslogtreecommitdiff
path: root/py/builtin.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-08 17:33:12 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-08 17:33:12 +0000
commit38a2da68c2e02b8fc5ae308ca9e3b667f8a0aedc (patch)
tree8bf705c9aff2013e1949e5edd803893113d385d3 /py/builtin.c
parentea9e441a75d7ea6633b0ea95b21667c48a6f7b6a (diff)
py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t.
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 4ee5c57c6..0d18508af 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