

def __get(self, name, obj, default=None):
    try:
        attr = getattr(obj, name)
    except AttributeError:
        return default
    if callable(attr):
        return attr(obj)
    return attr

dataset/ETHPy150Open DjangoAdminHackers/django-linkcheck/linkcheck/__init__.py Linklist.__get/VarMisuse@26/29 `self`->`obj`