diff options
Diffstat (limited to 'py')
-rw-r--r-- | py/builtin.h | 1 | ||||
-rw-r--r-- | py/builtintables.c | 3 | ||||
-rw-r--r-- | py/mpconfig.h | 4 | ||||
-rw-r--r-- | py/py.mk | 1 | ||||
-rw-r--r-- | py/qstrdefs.h | 8 |
5 files changed, 0 insertions, 17 deletions
diff --git a/py/builtin.h b/py/builtin.h index 2ccd4481a2..1bb61f6ebc 100644 --- a/py/builtin.h +++ b/py/builtin.h @@ -89,4 +89,3 @@ extern struct _dummy_t mp_sys_stderr_obj; // extmod modules extern const mp_obj_module_t mp_module_uctypes; extern const mp_obj_module_t mp_module_zlibd; -extern const mp_obj_module_t mp_module_select; diff --git a/py/builtintables.c b/py/builtintables.c index ad2e0bb55f..08b6b16493 100644 --- a/py/builtintables.c +++ b/py/builtintables.c @@ -200,9 +200,6 @@ STATIC const mp_map_elem_t mp_builtin_module_table[] = { #if MICROPY_PY_ZLIBD { MP_OBJ_NEW_QSTR(MP_QSTR_zlibd), (mp_obj_t)&mp_module_zlibd }, #endif -#if MICROPY_PY_SELECT - { MP_OBJ_NEW_QSTR(MP_QSTR_select), (mp_obj_t)&mp_module_select }, -#endif // extra builtin modules as defined by a port MICROPY_PORT_BUILTIN_MODULES diff --git a/py/mpconfig.h b/py/mpconfig.h index fc5d6ce2e1..adbcb0eb71 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -390,10 +390,6 @@ typedef double mp_float_t; #define MICROPY_PY_ZLIBD (0) #endif -#ifndef MICROPY_PY_SELECT -#define MICROPY_PY_SELECT (0) -#endif - /*****************************************************************************/ /* Hooks for a port to add builtins */ @@ -112,7 +112,6 @@ PY_O_BASENAME = \ pfenv_printf.o \ ../extmod/moductypes.o \ ../extmod/modzlibd.o \ - ../extmod/modselect.o \ # prepend the build destination prefix to the py object files PY_O = $(addprefix $(PY_BUILD)/, $(PY_O_BASENAME)) diff --git a/py/qstrdefs.h b/py/qstrdefs.h index 68681e47be..d41029a1fa 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -463,11 +463,3 @@ Q(deleter) Q(zlibd) Q(decompress) #endif - -#if MICROPY_PY_SELECT -Q(select) -Q(poll) -Q(register) -Q(unregister) -Q(modify) -#endif |