summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorAnson Mansfield <amansfield@mantaro.com>2025-07-21 08:33:17 -0400
committerDamien George <damien@micropython.org>2025-07-29 09:44:26 +1000
commitd5dc5547427ef171e3ede4f8ac35ea9bf6f53fca (patch)
tree7fa889a173c21db818a77f9ff22de49e56e1e30f /py
parent4412753f0cf46fb28093a90d58988f541a531df4 (diff)
docs: Document PEP487 __set_name__ implementation.
Signed-off-by: Anson Mansfield <amansfield@mantaro.com>
Diffstat (limited to 'py')
-rw-r--r--py/mpconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 619bce2ab..6ef6ec52e 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -1129,7 +1129,7 @@ typedef time_t mp_timestamp_t;
#define MICROPY_PY_FUNCTION_ATTRS_CODE (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_FULL_FEATURES)
#endif
-// Whether to support the descriptors __get__, __set__, __delete__
+// Whether to support the descriptors __get__, __set__, __delete__, __set_name__
// This costs some code size and makes load/store/delete of instance
// attributes slower for the classes that use this feature
#ifndef MICROPY_PY_DESCRIPTORS