diff options
author | Damien George <damien.p.george@gmail.com> | 2018-05-25 17:08:09 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-06-08 11:48:25 +1000 |
commit | bace1a16d056cc755f12f525b9f2bfb3cb4b4b50 (patch) | |
tree | 93bce032a6ca5103d3ff8bfd82a026e6bb067811 /py/objtype.c | |
parent | db5d8c97f1ee74bbd0d5b86991c6de33d0f985b6 (diff) |
py/objtype: Don't expose mp_obj_instance_attr().
mp_obj_is_instance_type() can be used instead to check for instance types.
Diffstat (limited to 'py/objtype.c')
-rw-r--r-- | py/objtype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objtype.c b/py/objtype.c index 77810ce70..d7d0ed7ff 100644 --- a/py/objtype.c +++ b/py/objtype.c @@ -764,7 +764,7 @@ STATIC bool mp_obj_instance_store_attr(mp_obj_t self_in, qstr attr, mp_obj_t val } } -void mp_obj_instance_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) { +STATIC void mp_obj_instance_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) { if (dest[0] == MP_OBJ_NULL) { mp_obj_instance_load_attr(self_in, attr, dest); } else { |