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.
pull/3452/merge
Damien George 2017-11-24 12:16:21 +11:00
rodzic 9783ac282e
commit 5b2f62aff3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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) {