diff options
author | Damien George <damien.p.george@gmail.com> | 2014-03-26 19:27:58 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-03-26 19:27:58 +0000 |
commit | 66eaf84b8c2db6afad7ec49eb296a019a2f377df (patch) | |
tree | a05406b020ba4102ffd90fdfb5357a301b9de637 /py/objnone.c | |
parent | 688e220d268609ec1a5be7a9b532637fe8c1f765 (diff) | |
download | micropython-66eaf84b8c2db6afad7ec49eb296a019a2f377df.tar.gz micropython-66eaf84b8c2db6afad7ec49eb296a019a2f377df.zip |
py: Replace mp_const_stop_iteration object with MP_OBJ_NULL.
Diffstat (limited to 'py/objnone.c')
-rw-r--r-- | py/objnone.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/py/objnone.c b/py/objnone.c index a4370efebc..1ec3d46fd4 100644 --- a/py/objnone.c +++ b/py/objnone.c @@ -31,8 +31,3 @@ const mp_obj_type_t none_type = { STATIC const mp_obj_none_t none_obj = {{&none_type}}; const mp_obj_t mp_const_none = (mp_obj_t)&none_obj; - -// the stop-iteration object just needs to be something unique -// it's not the StopIteration exception -STATIC const mp_obj_none_t stop_it_obj = {{&none_type}}; -const mp_obj_t mp_const_stop_iteration = (mp_obj_t)&stop_it_obj; |