summaryrefslogtreecommitdiff
path: root/extmod/modure.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-02-24 16:46:38 +0100
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-02-24 16:46:38 +0100
commit75d6abe3bb57cf75915a056e5e98e4b79efec2ad (patch)
treed61e76e2a6c71482515fb1f156b501833d38e165 /extmod/modure.c
parent35071b36811b3d1043e0a57018b81798b60d72fa (diff)
Correct name of mp_raise_NotImplementedError to make error name.
Diffstat (limited to 'extmod/modure.c')
-rw-r--r--extmod/modure.c2
1 files changed, 1 insertions, 1 deletions
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) {