We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49cbbd1 commit 94db02fCopy full SHA for 94db02f
py/obj.c
@@ -144,11 +144,13 @@ void mp_obj_print(mp_obj_t o_in, mp_print_kind_t kind) {
144
}
145
146
// CIRCUITPY-CHANGE
147
+#if MICROPY_CPYTHON_EXCEPTION_CHAIN
148
static mp_obj_t mp_load_attr_or_none(mp_obj_t base, qstr attr) {
149
mp_obj_t dest[2];
150
mp_load_method_protected(base, attr, dest, true);
151
return dest[0] == MP_OBJ_NULL ? mp_const_none : dest[0];
152
153
+#endif
154
155
156
static void mp_obj_print_inner_exception(const mp_print_t *print, mp_obj_t self_in, mp_int_t limit) {
0 commit comments