diff options
| author | stijn <stijn@ignitron.net> | 2023-12-04 15:54:59 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-12-15 11:43:39 +1100 |
| commit | 85c02166cacb8c2a8bc82f9802814ca72cbf6017 (patch) | |
| tree | ef19d9ed8905a2c03867182747944f99e314dff3 /py/mpconfig.h | |
| parent | 05d3b223011a88a10c806be866db8e0d29f1e348 (diff) | |
py/modsys: Implement optional sys.intern.
Signed-off-by: stijn <stijn@ignitron.net>
Diffstat (limited to 'py/mpconfig.h')
| -rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index d14b1aa04..c025bca26 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -1434,6 +1434,11 @@ typedef double mp_float_t; #define MICROPY_PY_SYS_EXECUTABLE (0) #endif +// Whether to provide "sys.intern" +#ifndef MICROPY_PY_SYS_INTERN +#define MICROPY_PY_SYS_INTERN (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_EVERYTHING) +#endif + // Whether to provide "sys.exit" function #ifndef MICROPY_PY_SYS_EXIT #define MICROPY_PY_SYS_EXIT (1) |
