diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-15 12:42:52 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-15 12:42:52 +0100 |
commit | 58051117322bc7cd55c0d35168c0563a880c7689 (patch) | |
tree | b8d8bda254e1437b9652208b1f0e3c202b85be46 /py/builtintables.c | |
parent | 256b319d566a434e5b553fdb9ea5bd8d0eb2af86 (diff) | |
download | micropython-58051117322bc7cd55c0d35168c0563a880c7689.tar.gz micropython-58051117322bc7cd55c0d35168c0563a880c7689.zip |
py: Add hex builtin function.
A one-liner, added especially for @pfalcon :)
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 cbf885844a..6cf12dffa9 100644 --- a/py/builtintables.c +++ b/py/builtintables.c @@ -60,6 +60,7 @@ STATIC const mp_map_elem_t mp_builtin_object_table[] = { { MP_OBJ_NEW_QSTR(MP_QSTR_getattr), (mp_obj_t)&mp_builtin_getattr_obj }, { MP_OBJ_NEW_QSTR(MP_QSTR_globals), (mp_obj_t)&mp_builtin_globals_obj }, { MP_OBJ_NEW_QSTR(MP_QSTR_hash), (mp_obj_t)&mp_builtin_hash_obj }, + { MP_OBJ_NEW_QSTR(MP_QSTR_hex), (mp_obj_t)&mp_builtin_hex_obj }, { MP_OBJ_NEW_QSTR(MP_QSTR_id), (mp_obj_t)&mp_builtin_id_obj }, { MP_OBJ_NEW_QSTR(MP_QSTR_isinstance), (mp_obj_t)&mp_builtin_isinstance_obj }, { MP_OBJ_NEW_QSTR(MP_QSTR_issubclass), (mp_obj_t)&mp_builtin_issubclass_obj }, |