aboutsummaryrefslogtreecommitdiff
path: root/stmhal
diff options
context:
space:
mode:
authorTom Soulanille2015-09-11 14:31:32 -0700
committerDamien George2015-09-15 21:59:20 +0100
commitaeb62f9ae3169d789800591eea390e020c7532bf (patch)
tree6b4524e14756f3cdd2c41ad98b72ab88e40f72ec /stmhal
parentd80174d7c3fe36f139c639d6a820cc4cbb88ddf9 (diff)
py/objslice: Make slice attributes (start/stop/step) readable.
Configurable with MICROPY_PY_BUILTINS_SLICE_ATTRS. Disabled by default.
Diffstat (limited to 'stmhal')
-rw-r--r--stmhal/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
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)