summaryrefslogtreecommitdiff
path: root/py/objstr.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-05-10 21:36:33 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-05-10 21:36:33 +0300
commitd915a52eb650a0809e15e6be25e58a3db7e73025 (patch)
tree7889f6acd249db1edfb674a217b225b11d778aa9 /py/objstr.c
parentaa4d19a05cdcdb4523c1a795e80a1e842e8f9a97 (diff)
py: Fix prefix on few sequence helpers, was incorrectly "mp_".
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 26c6edde9..80b0cf876 100644
--- a/py/objstr.c
+++ b/py/objstr.c
@@ -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);