diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-02-21 15:11:54 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2019-02-21 15:11:54 -0500 |
| commit | 01e5a82f1c157c4e170fec4b1e9d1bd1156e97fe (patch) | |
| tree | fd9b239c4f5c263ca4eb31823d8655a95086031b /extmod | |
| parent | 10d3a20f8a639ad8ef5555e2142052190e8a7e13 (diff) | |
conditionalize re object type name
Diffstat (limited to 'extmod')
| -rw-r--r-- | extmod/modure.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extmod/modure.c b/extmod/modure.c index e2556c41b..125afef4d 100644 --- a/extmod/modure.c +++ b/extmod/modure.c @@ -405,7 +405,11 @@ STATIC MP_DEFINE_CONST_DICT(re_locals_dict, re_locals_dict_table); STATIC const mp_obj_type_t re_type = { { &mp_type_type }, +#if CIRCUITPY .name = MP_QSTR_re, +#else + .name = MP_QSTR_ure, +#endif .print = re_print, .locals_dict = (void*)&re_locals_dict, }; |
