diff options
author | Damien George <damien.p.george@gmail.com> | 2017-06-01 16:01:27 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-06-01 16:02:49 +1000 |
commit | d92898a35acdb6fc665be75f7c53d0fec107c4c4 (patch) | |
tree | a1b968de0f5e79826c930a72e54b80f6e8b874ce /unix/mpconfigport.h | |
parent | 6ff0ecfffcea4e7aa6301c54870ae97aa4a0cf72 (diff) | |
download | micropython-d92898a35acdb6fc665be75f7c53d0fec107c4c4.tar.gz micropython-d92898a35acdb6fc665be75f7c53d0fec107c4c4.zip |
unix: Convert to use core-provided version of built-in import().
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r-- | unix/mpconfigport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index d8b8e9d1e8..047121fe66 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -81,6 +81,7 @@ #define MICROPY_PY_BUILTINS_FROZENSET (1) #define MICROPY_PY_BUILTINS_COMPILE (1) #define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1) +#define MICROPY_PY_BUILTINS_INPUT (1) #define MICROPY_PY_BUILTINS_POW3 (1) #define MICROPY_PY_MICROPYTHON_MEM_INFO (1) #define MICROPY_PY_ALL_SPECIAL_METHODS (1) @@ -279,7 +280,6 @@ void mp_unix_mark_exec(void); #endif #define MICROPY_PORT_BUILTINS \ - { MP_ROM_QSTR(MP_QSTR_input), MP_ROM_PTR(&mp_builtin_input_obj) }, \ { MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) }, #define MP_STATE_PORT MP_STATE_VM |