summaryrefslogtreecommitdiffstatshomepage
path: root/py/objnone.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-26 19:27:58 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-26 19:27:58 +0000
commit66eaf84b8c2db6afad7ec49eb296a019a2f377df (patch)
treea05406b020ba4102ffd90fdfb5357a301b9de637 /py/objnone.c
parent688e220d268609ec1a5be7a9b532637fe8c1f765 (diff)
downloadmicropython-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.c5
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;