diff options
| author | Paul Sokolovsky | 2018-08-06 01:25:41 +0300 |
|---|---|---|
| committer | Damien George | 2018-12-13 01:20:55 +1100 |
| commit | fbb8335084db35ce8dd8d6bd9a678966727ce30f (patch) | |
| tree | be1f896cff76416620b8ce5e1e017cdc08e50881 /ports/minimal | |
| parent | 169b152f297e6c678ea10b36af889085dd27c527 (diff) | |
py/objdict: Make .fromkeys() method configurable.
On by default, turned off for minimal/bare-arm. Saves 144 bytes on x86.
Diffstat (limited to 'ports/minimal')
| -rw-r--r-- | ports/minimal/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/minimal/mpconfigport.h b/ports/minimal/mpconfigport.h index 13435a125..f2a43523d 100644 --- a/ports/minimal/mpconfigport.h +++ b/ports/minimal/mpconfigport.h @@ -31,6 +31,7 @@ #define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG (0) #define MICROPY_PY_ASYNC_AWAIT (0) #define MICROPY_PY_BUILTINS_BYTEARRAY (0) +#define MICROPY_PY_BUILTINS_DICT_FROMKEYS (0) #define MICROPY_PY_BUILTINS_MEMORYVIEW (0) #define MICROPY_PY_BUILTINS_ENUMERATE (0) #define MICROPY_PY_BUILTINS_FILTER (0) |
