summaryrefslogtreecommitdiffstatshomepage
path: root/py/objdict.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-31 16:28:13 +0100
committerDamien George <damien.p.george@gmail.com>2014-03-31 16:28:13 +0100
commit15d18069c50f7c02cb71417f3c4ffddff335fe70 (patch)
tree28bdbb76f94f0da7dbf33a621f1e4a4ce35268b2 /py/objdict.c
parentf78b6df1926367b903be1891e564151f099aefc7 (diff)
downloadmicropython-15d18069c50f7c02cb71417f3c4ffddff335fe70.tar.gz
micropython-15d18069c50f7c02cb71417f3c4ffddff335fe70.zip
py: Remove old "run time" functions that were 1 liners.
Diffstat (limited to 'py/objdict.c')
-rw-r--r--py/objdict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objdict.c b/py/objdict.c
index 01c7294a46..afd1d0da0f 100644
--- a/py/objdict.c
+++ b/py/objdict.c
@@ -33,7 +33,7 @@ STATIC void dict_print(void (*print)(void *env, const char *fmt, ...), void *env
STATIC mp_obj_t dict_make_new(mp_obj_t type_in, uint n_args, uint n_kw, const mp_obj_t *args) {
// TODO create from an iterable!
- return mp_build_map(0);
+ return mp_obj_new_dict(0);
}
STATIC mp_obj_t dict_unary_op(int op, mp_obj_t self_in) {