def ip_addrs(interface=None, include_loopback=False, interface_data=None):
 return _ip_addrs(interface, include_loopback, interface_data, 'inet')

def ip_addrs ( interface = None , include_loopback = False , interface_data = None ) : return _ip_addrs ( interface , include_loopback , interface_data , 'inet' )
returns a list of ipv4 addresses assigned to the host .