py/opmethods: Include the correct header for binary op enums.
By directly including runtime0.h the mpconfig.h settings are not included and so the enums in runtime0.h can be incorrect.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "py/runtime0.h"
|
||||
#include "py/obj.h"
|
||||
#include "py/builtin.h"
|
||||
|
||||
STATIC mp_obj_t op_getitem(mp_obj_t self_in, mp_obj_t key_in) {
|
||||
|
||||
Reference in New Issue
Block a user