diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-08 21:11:49 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-08 21:11:49 +0100 |
commit | 1d24ea5207ba4b62b20dbba22ab2800496418463 (patch) | |
tree | 0ac953019f01f030778f2bc6381b69884e7124be /py/obj.h | |
parent | 134c10e776a5d75cfdd6bf98697cb50d7da7adf6 (diff) |
py: Finish implementation of all del opcodes.
At this point, all opcodes are now implemented!
Some del opcodes have been combined with store opcodes, with the value
to store being MP_OBJ_NULL.
Diffstat (limited to 'py/obj.h')
-rw-r--r-- | py/obj.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -217,7 +217,7 @@ struct _mp_obj_type_t { mp_binary_op_fun_t binary_op; // can return NULL if op not supported mp_load_attr_fun_t load_attr; - mp_store_attr_fun_t store_attr; + mp_store_attr_fun_t store_attr; // if value is MP_OBJ_NULL, then delete that attribute // Implements container[index] = val; note that load_item is implemented // by binary_op(RT_BINARY_OP_SUBSCR) mp_store_item_fun_t store_item; |