diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-08 18:48:12 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-08 18:48:12 +0000 |
commit | 93a9b5b64d8c26ed1df739a59e6eabcfe1c64aa7 (patch) | |
tree | a7cc10ff0f3d5b97caae733784cf41c7ec276521 /py/builtin.c | |
parent | 6c73ca1e754aa5fb822999a0b46f01e216619ec6 (diff) | |
download | micropython-93a9b5b64d8c26ed1df739a59e6eabcfe1c64aa7.tar.gz micropython-93a9b5b64d8c26ed1df739a59e6eabcfe1c64aa7.zip |
py: Proper framework for built-in 'type'.
Diffstat (limited to 'py/builtin.c')
-rw-r--r-- | py/builtin.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/py/builtin.c b/py/builtin.c index a5193bf760..5dbf47ab84 100644 --- a/py/builtin.c +++ b/py/builtin.c @@ -315,10 +315,3 @@ mp_obj_t mp_builtin_sum(int n_args, const mp_obj_t *args) { } return value; } - -static mp_obj_t mp_builtin_type(mp_obj_t o_in) { - // TODO implement the 3 argument version of type() - return mp_obj_get_type(o_in); -} - -MP_DEFINE_CONST_FUN_OBJ_1(mp_builtin_type_obj, mp_builtin_type); |