From 5e69926ea06cc035e831fcb657e756764682e0b5 Mon Sep 17 00:00:00 2001 From: Damien George <damien@micropython.org> Date: Fri, 4 Sep 2020 01:04:08 +1000 Subject: [PATCH] stm32/mpconfigport.h: Enable MICROPY_PY_REVERSE_SPECIAL_METHODS. It's a useful core feature. Signed-off-by: Damien George <damien@micropython.org> --- ports/stm32/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h index 6f38d90e8d..14a0589895 100644 --- a/ports/stm32/mpconfigport.h +++ b/ports/stm32/mpconfigport.h @@ -100,6 +100,7 @@ #define MICROPY_PY_BUILTINS_SLICE_INDICES (1) #define MICROPY_PY_BUILTINS_ROUND_INT (1) #define MICROPY_PY_ALL_SPECIAL_METHODS (1) +#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1) #define MICROPY_PY_BUILTINS_COMPILE (MICROPY_ENABLE_COMPILER) #define MICROPY_PY_BUILTINS_EXECFILE (MICROPY_ENABLE_COMPILER) #define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1)