From aeb62f9ae3169d789800591eea390e020c7532bf Mon Sep 17 00:00:00 2001 From: Tom Soulanille Date: Fri, 11 Sep 2015 14:31:32 -0700 Subject: py/objslice: Make slice attributes (start/stop/step) readable. Configurable with MICROPY_PY_BUILTINS_SLICE_ATTRS. Disabled by default. --- stmhal/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) (limited to 'stmhal') diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h index eec492a15..100c66f98 100644 --- a/stmhal/mpconfigport.h +++ b/stmhal/mpconfigport.h @@ -64,6 +64,7 @@ #define MICROPY_PY_BUILTINS_EXECFILE (1) #define MICROPY_PY_MICROPYTHON_MEM_INFO (1) #define MICROPY_PY_ARRAY_SLICE_ASSIGN (1) +#define MICROPY_PY_BUILTINS_SLICE_ATTRS (1) #define MICROPY_PY_SYS_EXIT (1) #define MICROPY_PY_SYS_MAXSIZE (1) #define MICROPY_PY_SYS_STDFILES (1) -- cgit v1.2.3