py: Fix prefix on few sequence helpers, was incorrectly "mp_".

This commit is contained in:
Paul Sokolovsky
2014-05-10 21:36:33 +03:00
parent aa4d19a05c
commit d915a52eb6
7 changed files with 16 additions and 16 deletions

View File

@@ -333,7 +333,7 @@ STATIC mp_obj_t str_subscr(mp_obj_t self_in, mp_obj_t index, mp_obj_t value) {
#if MICROPY_ENABLE_SLICE
if (MP_OBJ_IS_TYPE(index, &mp_type_slice)) {
machine_uint_t start, stop;
if (!m_seq_get_fast_slice_indexes(self_len, index, &start, &stop)) {
if (!mp_seq_get_fast_slice_indexes(self_len, index, &start, &stop)) {
assert(0);
}
return mp_obj_new_str(self_data + start, stop - start, false);