aboutsummaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorstijn2015-02-14 18:43:54 +0100
committerDamien George2015-03-26 23:55:14 +0000
commit28fa84b4454ef253dfba5f1ceb023be2184a7271 (patch)
tree628ba6762450f90282c305eb0b8f4bc5dde8778e /windows
parentc260836beb10b1d81c98732c2b7282eb6675140a (diff)
py: Add optional support for descriptors' __get__ and __set__ methods.
Disabled by default. Enabled on unix and windows ports.
Diffstat (limited to 'windows')
-rw-r--r--windows/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h
index 6e342f0d3..01f8775fa 100644
--- a/windows/mpconfigport.h
+++ b/windows/mpconfigport.h
@@ -51,6 +51,7 @@
#define MICROPY_STREAMS_NON_BLOCK (1)
#define MICROPY_OPT_COMPUTED_GOTO (0)
#define MICROPY_CAN_OVERRIDE_BUILTINS (1)
+#define MICROPY_PY_DESCRIPTORS (1)
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)
#define MICROPY_PY_BUILTINS_MEMORYVIEW (1)
#define MICROPY_PY_BUILTINS_FROZENSET (1)