summaryrefslogtreecommitdiff
path: root/py/objstr.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-29 13:15:08 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-29 13:15:08 +0000
commit07ddab529cb0953c473d30795e4dc3c6dfff0d89 (patch)
treeba3cba6f7b35f7a3098d044b77a9d6cd61c2ec3a /py/objstr.c
parentda51a399cf628699546f77f320ef0388a268b49f (diff)
py: Change mp_const_* objects to macros.
Addresses issue #388.
Diffstat (limited to 'py/objstr.c')
-rw-r--r--py/objstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstr.c b/py/objstr.c
index 6812516b4..cf68e95fe 100644
--- a/py/objstr.c
+++ b/py/objstr.c
@@ -309,7 +309,7 @@ STATIC mp_obj_t str_join(mp_obj_t self_in, mp_obj_t arg) {
// process args
uint seq_len;
mp_obj_t *seq_items;
- if (MP_OBJ_IS_TYPE(arg, &tuple_type)) {
+ if (MP_OBJ_IS_TYPE(arg, &mp_type_tuple)) {
mp_obj_tuple_get(arg, &seq_len, &seq_items);
} else if (MP_OBJ_IS_TYPE(arg, &list_type)) {
mp_obj_list_get(arg, &seq_len, &seq_items);