diff options
| author | Tom Soulanille <soul@prama.com> | 2015-09-11 14:31:32 -0700 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2015-09-15 21:59:20 +0100 |
| commit | aeb62f9ae3169d789800591eea390e020c7532bf (patch) | |
| tree | 6b4524e14756f3cdd2c41ad98b72ab88e40f72ec /unix/mpconfigport.h | |
| parent | d80174d7c3fe36f139c639d6a820cc4cbb88ddf9 (diff) | |
py/objslice: Make slice attributes (start/stop/step) readable.
Configurable with MICROPY_PY_BUILTINS_SLICE_ATTRS. Disabled by default.
Diffstat (limited to 'unix/mpconfigport.h')
| -rw-r--r-- | unix/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index f51d1aeae..21df22486 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -73,6 +73,7 @@ #define MICROPY_PY_MICROPYTHON_MEM_INFO (1) #define MICROPY_PY_ALL_SPECIAL_METHODS (1) #define MICROPY_PY_ARRAY_SLICE_ASSIGN (1) +#define MICROPY_PY_BUILTINS_SLICE_ATTRS (1) #define MICROPY_PY_SYS_EXIT (1) #if defined(__APPLE__) && defined(__MACH__) #define MICROPY_PY_SYS_PLATFORM "darwin" |
