summaryrefslogtreecommitdiffstatshomepage
path: root/stm/pybwlan.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-09 21:43:51 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-09 21:43:51 +0000
commit004cdcebfe03d52ca9da3b2515c203910502dbba (patch)
treed4e36873836f0eee94d606f8ca87a246ea668ccc /stm/pybwlan.c
parent062478e66d03cc59ed73484a3032ef5f08db12a4 (diff)
downloadmicropython-004cdcebfe03d52ca9da3b2515c203910502dbba.tar.gz
micropython-004cdcebfe03d52ca9da3b2515c203910502dbba.zip
py: Implement base class lookup, issubclass, isinstance.
Diffstat (limited to 'stm/pybwlan.c')
-rw-r--r--stm/pybwlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/pybwlan.c b/stm/pybwlan.c
index e890e10ca7..09d642d9c8 100644
--- a/stm/pybwlan.c
+++ b/stm/pybwlan.c
@@ -78,7 +78,7 @@ mp_obj_t pyb_wlan_get_ip(void) {
// if it doesn't already exist, make a new empty class for NetAddress objects
if (net_address_type == MP_OBJ_NULL) {
- net_address_type = mp_obj_new_type(qstr_from_str_static("NetAddress"), mp_obj_new_dict(0));
+ net_address_type = mp_obj_new_type(qstr_from_str_static("NetAddress"), mp_const_empty_tuple, mp_obj_new_dict(0));
}
// make a new NetAddress object