diff options
| author | Damien George <damien.p.george@gmail.com> | 2015-04-21 14:14:24 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2015-04-21 14:14:24 +0000 |
| commit | 5aa311d33084c24262780cae0a65d748990ce7e1 (patch) | |
| tree | 88a87ed9e5a5dcd912fb5e0c9a15ab95a6c465d5 /minimal | |
| parent | 23a2b11abf22d434be17cfce1c491fca0e9c58f2 (diff) | |
py: Add attrtuple object, for space-efficient tuples with attr access.
If you need the functionality of a namedtuple but will only make 1 or a
few instances, then use an attrtuple instead.
Diffstat (limited to 'minimal')
| -rw-r--r-- | minimal/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/minimal/mpconfigport.h b/minimal/mpconfigport.h index b08bdf8b7..ef4fc00b4 100644 --- a/minimal/mpconfigport.h +++ b/minimal/mpconfigport.h @@ -30,6 +30,7 @@ #define MICROPY_PY___FILE__ (0) #define MICROPY_PY_GC (0) #define MICROPY_PY_ARRAY (0) +#define MICROPY_PY_ATTRTUPLE (0) #define MICROPY_PY_COLLECTIONS (0) #define MICROPY_PY_MATH (0) #define MICROPY_PY_CMATH (0) |
