diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-02-24 16:46:38 +0100 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-02-24 16:46:38 +0100 |
| commit | 75d6abe3bb57cf75915a056e5e98e4b79efec2ad (patch) | |
| tree | d61e76e2a6c71482515fb1f156b501833d38e165 /extmod | |
| parent | 35071b36811b3d1043e0a57018b81798b60d72fa (diff) | |
Correct name of mp_raise_NotImplementedError to make error name.
Diffstat (limited to 'extmod')
| -rw-r--r-- | extmod/modlwip.c | 2 | ||||
| -rw-r--r-- | extmod/modure.c | 2 | ||||
| -rw-r--r-- | extmod/modussl_axtls.c | 2 | ||||
| -rw-r--r-- | extmod/modussl_mbedtls.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/extmod/modlwip.c b/extmod/modlwip.c index 57fb2845f..9194fa5e4 100644 --- a/extmod/modlwip.c +++ b/extmod/modlwip.c @@ -1025,7 +1025,7 @@ STATIC mp_obj_t lwip_socket_sendall(mp_obj_t self_in, mp_obj_t buf_in) { break; } case MOD_NETWORK_SOCK_DGRAM: - mp_raise_NotImplementError(""); + mp_raise_NotImplementedError(""); break; } diff --git a/extmod/modure.c b/extmod/modure.c index ba8a2e07a..6cd700763 100644 --- a/extmod/modure.c +++ b/extmod/modure.c @@ -153,7 +153,7 @@ STATIC mp_obj_t re_split(size_t n_args, const mp_obj_t *args) { mp_obj_t s = mp_obj_new_str(subj.begin, caps[0] - subj.begin, false); mp_obj_list_append(retval, s); if (self->re.sub > 0) { - mp_raise_NotImplementError("Splitting with sub-captures"); + mp_raise_NotImplementedError("Splitting with sub-captures"); } subj.begin = caps[1]; if (maxsplit > 0 && --maxsplit == 0) { diff --git a/extmod/modussl_axtls.c b/extmod/modussl_axtls.c index f238fb7c1..429742f7c 100644 --- a/extmod/modussl_axtls.c +++ b/extmod/modussl_axtls.c @@ -126,7 +126,7 @@ STATIC mp_obj_t socket_setblocking(mp_obj_t self_in, mp_obj_t flag_in) { // Currently supports only blocking mode (void)self_in; if (!mp_obj_is_true(flag_in)) { - mp_raise_NotImplementError(""); + mp_raise_NotImplementedError(""); } return mp_const_none; } diff --git a/extmod/modussl_mbedtls.c b/extmod/modussl_mbedtls.c index 82ad262c4..291d4bb0c 100644 --- a/extmod/modussl_mbedtls.c +++ b/extmod/modussl_mbedtls.c @@ -219,7 +219,7 @@ STATIC mp_obj_t socket_setblocking(mp_obj_t self_in, mp_obj_t flag_in) { // Currently supports only blocking mode (void)self_in; if (!mp_obj_is_true(flag_in)) { - mp_raise_NotImplementError(""); + mp_raise_NotImplementedError(""); } return mp_const_none; } |
