From 38a2da68c2e02b8fc5ae308ca9e3b667f8a0aedc Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 8 Jan 2014 17:33:12 +0000 Subject: py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t. --- py/builtin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/builtin.c') 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 -- cgit v1.2.3