

def get_func(self, *args, **kwargs):
    from django.contrib.gis.geos.prototypes.threadsafe import GEOSFunc
    func = GEOSFunc(self.func_name)
    kwargs.argtypes = (self.argtypes or [])
    func.restype = self.restype
    if self.errcheck:
        func.errcheck = self.errcheck
    return func

dataset/ETHPy150Open django/django/django/contrib/gis/geos/libgeos.py GEOSFuncFactory.get_func/VarMisuse@40/50 `func`->`kwargs`