diff options
author | xyb <xieyanbo@gmail.com> | 2014-01-15 20:33:48 +0800 |
---|---|---|
committer | xyb <xieyanbo@gmail.com> | 2014-01-15 20:37:17 +0800 |
commit | 3e4ed25138b7ffc295843dfc11e44bccfb22ab9c (patch) | |
tree | a84e190227c5614848361ac2f66290b664182801 /py/objint.c | |
parent | 3270fb4be66f2d61de31d2e6315dfdb8ebfb2132 (diff) |
add more tests and remove debug code
Diffstat (limited to 'py/objint.c')
-rw-r--r-- | py/objint.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/py/objint.c b/py/objint.c index e5351ce3a..bd0926840 100644 --- a/py/objint.c +++ b/py/objint.c @@ -19,11 +19,9 @@ static mp_obj_t int_make_new(mp_obj_t type_in, int n_args, const mp_obj_t *args) return MP_OBJ_NEW_SMALL_INT(0); case 1: - // TODO allow string as arg and parse it return MP_OBJ_NEW_SMALL_INT(mp_obj_get_int(args[0])); case 2: - // TODO make args[0] and args[1] correct return MP_OBJ_NEW_SMALL_INT(mp_obj_get_int_base(args[1], args[0])); default: |