summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Leech <andrew@alelec.net>2020-09-10 17:46:25 +1000
committerDamien George <damien@micropython.org>2020-10-20 23:47:50 +1100
commit32c99174e143b45d056c83a33f8de7502a82370c (patch)
tree68f44ef2fc4162cdf560cb90022eb15993434f3a
parent4842060366a88d8f50155538ce5fc3a12c8c709a (diff)
unix/mpconfigport.h: Enable MICROPY_PY_DELATTR_SETATTR.
This is a generally useful feature and because it's part of the object model it cannot be added at runtime by some loadable Python code, so enable it on the standard unix build.
-rw-r--r--ports/unix/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/unix/mpconfigport.h b/ports/unix/mpconfigport.h
index c74d2fd84..17f489557 100644
--- a/ports/unix/mpconfigport.h
+++ b/ports/unix/mpconfigport.h
@@ -87,6 +87,7 @@
#define MICROPY_VFS_POSIX_FILE (1)
#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_DESCRIPTORS (1)
+#define MICROPY_PY_DELATTR_SETATTR (1)
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)
#define MICROPY_PY_BUILTINS_STR_CENTER (1)
#define MICROPY_PY_BUILTINS_STR_PARTITION (1)