

def __call__(self, *args, **kwargs):
    if (self.func is None):
        self.func = self.get_func(*self.args, **self.kwargs)
    return self.func(*args, **kwargs)

dataset/ETHPy150Open django/django/django/contrib/gis/geos/libgeos.py GEOSFuncFactory.__call__/original