def accumulateClassList(classObj, attr, listObj, baseClass=None):
    for base in classObj.__bases__:
        accumulateClassList(base, attr, listObj)
    if baseClass is None or baseClass in classObj.__bases__:
        listObj.extend(classObj.__dict__.get(attr, []))
Returns the interface's IPv4 address if device exists and has a valid
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/reflect.py/accumulateClassList--crossover with--dataset/ETHPy150Open ultrabug/py3status/py3status/modules/wwan_status.py/Py3status._get_ip