瀏覽代碼

Removed unused **kwargs from GEOSFuncFactory.__call__().

Sergey Fedoseev 5 年之前
父節點
當前提交
486a8dae2d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      django/contrib/gis/geos/libgeos.py

+ 2 - 2
django/contrib/gis/geos/libgeos.py

@@ -148,8 +148,8 @@ class GEOSFuncFactory:
         if argtypes is not None:
             self.argtypes = argtypes
 
-    def __call__(self, *args, **kwargs):
-        return self.func(*args, **kwargs)
+    def __call__(self, *args):
+        return self.func(*args)
 
     @cached_property
     def func(self):