summaryrefslogtreecommitdiff
path: root/py/objlist.c
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-08-18 15:01:26 +1000
committerJim Mussared <jim.mussared@gmail.com>2023-06-08 17:54:11 +1000
commitf5f9edf6457624bf32e71b0c2fdcfbfa5d5753a6 (patch)
treea8cce3668eed96ebb39abe626c6a8a52d5787f34 /py/objlist.c
parent7f5d5c72718af773db751269c6ae14037b9c0727 (diff)
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/objlist.c')
-rw-r--r--py/objlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objlist.c b/py/objlist.c
index 18da91ba3..1423cb1de 100644
--- a/py/objlist.c
+++ b/py/objlist.c
@@ -45,10 +45,10 @@ STATIC mp_obj_t list_pop(size_t n_args, const mp_obj_t *args);
STATIC void list_print(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t kind) {
mp_obj_list_t *o = MP_OBJ_TO_PTR(o_in);
const char *item_separator = ", ";
- if (!(MICROPY_PY_UJSON && kind == PRINT_JSON)) {
+ if (!(MICROPY_PY_JSON && kind == PRINT_JSON)) {
kind = PRINT_REPR;
} else {
- #if MICROPY_PY_UJSON_SEPARATORS
+ #if MICROPY_PY_JSON_SEPARATORS
item_separator = MP_PRINT_GET_EXT(print)->item_separator;
#endif
}