diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-09 20:57:50 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-09 20:57:50 +0000 |
commit | 062478e66d03cc59ed73484a3032ef5f08db12a4 (patch) | |
tree | 6d3beb59ade6fe3d1ab7a5f05ff876e63062717f /py/builtinimport.c | |
parent | d944a66ead38b15b5a3c7a4ae8b054451fd5c077 (diff) | |
download | micropython-062478e66d03cc59ed73484a3032ef5f08db12a4.tar.gz micropython-062478e66d03cc59ed73484a3032ef5f08db12a4.zip |
Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr.
Creating of classes (types) and instances is much more like CPython now.
You can use "type('name', (), {...})" to create classes.
Diffstat (limited to 'py/builtinimport.c')
0 files changed, 0 insertions, 0 deletions