summaryrefslogtreecommitdiff
path: root/extmod/moduheapq.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-01-30 22:04:54 +1100
committerDamien George <damien.p.george@gmail.com>2019-02-12 14:54:51 +1100
commitf03601779e7abe733a8411d62329098d47d9f215 (patch)
treed2d82d693c1dedef4043163fcf594e34a5f03aea /extmod/moduheapq.c
parent054dd33ebad67f5c8f328036fd32c3871589a386 (diff)
extmod: Convert legacy uppercase macro names to lowercase.
Diffstat (limited to 'extmod/moduheapq.c')
-rw-r--r--extmod/moduheapq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/moduheapq.c b/extmod/moduheapq.c
index 71c15368b..bdaf191e9 100644
--- a/extmod/moduheapq.c
+++ b/extmod/moduheapq.c
@@ -32,7 +32,7 @@
// the algorithm here is modelled on CPython's heapq.py
STATIC mp_obj_list_t *get_heap(mp_obj_t heap_in) {
- if (!MP_OBJ_IS_TYPE(heap_in, &mp_type_list)) {
+ if (!mp_obj_is_type(heap_in, &mp_type_list)) {
mp_raise_TypeError("heap must be a list");
}
return MP_OBJ_TO_PTR(heap_in);