summaryrefslogtreecommitdiffstatshomepage
path: root/bare-arm
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-04-21 14:14:24 +0000
committerDamien George <damien.p.george@gmail.com>2015-04-21 14:14:24 +0000
commit5aa311d33084c24262780cae0a65d748990ce7e1 (patch)
tree88a87ed9e5a5dcd912fb5e0c9a15ab95a6c465d5 /bare-arm
parent23a2b11abf22d434be17cfce1c491fca0e9c58f2 (diff)
downloadmicropython-5aa311d33084c24262780cae0a65d748990ce7e1.tar.gz
micropython-5aa311d33084c24262780cae0a65d748990ce7e1.zip
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 'bare-arm')
-rw-r--r--bare-arm/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bare-arm/mpconfigport.h b/bare-arm/mpconfigport.h
index 7b8f8168b3..41fe5dacef 100644
--- a/bare-arm/mpconfigport.h
+++ b/bare-arm/mpconfigport.h
@@ -27,6 +27,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)