diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2017-05-29 10:08:14 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2017-05-29 11:36:05 +0300 |
commit | ca16c3821053e5bf2b87aeb10007f73f31dc1eac (patch) | |
tree | 28b394ba7ef2e107c5fb3112c7ba97f01b6915f1 /py/objstr.c | |
parent | e5e49bedcb0ed353ee22ba99078301d9ccd87dbf (diff) |
various: Spelling fixes
Diffstat (limited to 'py/objstr.c')
-rw-r--r-- | py/objstr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objstr.c b/py/objstr.c index 70de0a693..a1e223572 100644 --- a/py/objstr.c +++ b/py/objstr.c @@ -798,7 +798,7 @@ STATIC mp_obj_t str_uni_strip(int type, size_t n_args, const mp_obj_t *args) { } assert(last_good_char_pos >= first_good_char_pos); - //+1 to accomodate the last character + //+1 to accommodate the last character size_t stripped_len = last_good_char_pos - first_good_char_pos + 1; if (stripped_len == orig_str_len) { // If nothing was stripped, don't bother to dup original string @@ -1811,7 +1811,7 @@ STATIC mp_obj_t str_islower(mp_obj_t self_in) { } #if MICROPY_CPYTHON_COMPAT -// These methods are superfluous in the presense of str() and bytes() +// These methods are superfluous in the presence of str() and bytes() // constructors. // TODO: should accept kwargs too STATIC mp_obj_t bytes_decode(size_t n_args, const mp_obj_t *args) { |