diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-03-26 23:35:13 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-03-27 00:11:36 +0200 |
commit | e9137b94f27594ea1bdeb5fa4eaddffcbb7b9e9a (patch) | |
tree | c14b5aea484651e297487f3612ac14b899b57bf9 /py/builtintables.c | |
parent | 9b196cddab80e24b9ce66b1c922cb757b11fb16a (diff) | |
download | micropython-e9137b94f27594ea1bdeb5fa4eaddffcbb7b9e9a.tar.gz micropython-e9137b94f27594ea1bdeb5fa4eaddffcbb7b9e9a.zip |
py: Implement getattr() builtin.
Diffstat (limited to 'py/builtintables.c')
-rw-r--r-- | py/builtintables.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/builtintables.c b/py/builtintables.c index 0aa0b66a72..fd94f76783 100644 --- a/py/builtintables.c +++ b/py/builtintables.c @@ -60,6 +60,7 @@ STATIC const mp_builtin_elem_t builtin_object_table[] = { { MP_QSTR_divmod, (mp_obj_t)&mp_builtin_divmod_obj }, { MP_QSTR_eval, (mp_obj_t)&mp_builtin_eval_obj }, { MP_QSTR_exec, (mp_obj_t)&mp_builtin_exec_obj }, + { MP_QSTR_getattr, (mp_obj_t)&mp_builtin_getattr_obj }, { MP_QSTR_hash, (mp_obj_t)&mp_builtin_hash_obj }, { MP_QSTR_id, (mp_obj_t)&mp_builtin_id_obj }, { MP_QSTR_isinstance, (mp_obj_t)&mp_builtin_isinstance_obj }, |