mirror of
https://github.com/micropython/micropython.git
synced 2025-08-20 17:40:23 +02:00
Convert many object types structs to use C99 tagged initializer syntax.
This commit is contained in:
@@ -45,7 +45,7 @@ const mp_obj_type_t exception_type = {
|
||||
NULL, // binary_op
|
||||
NULL, // getiter
|
||||
NULL, // iternext
|
||||
{{NULL, NULL},}, // method list
|
||||
.methods = {{NULL, NULL},},
|
||||
};
|
||||
|
||||
mp_obj_t mp_obj_new_exception(qstr id) {
|
||||
|
Reference in New Issue
Block a user