Skip to content

Commit 5b2f62a

Browse files
committed
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.
1 parent 9783ac2 commit 5b2f62a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/opmethods.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#include "py/runtime0.h"
27+
#include "py/obj.h"
2828
#include "py/builtin.h"
2929

3030
STATIC mp_obj_t op_getitem(mp_obj_t self_in, mp_obj_t key_in) {

0 commit comments

Comments
 (0)