1
0
mirror of https://github.com/django/django.git synced 2024-12-31 21:46:05 +00:00

Removed unused *args and **kwargs from GEOSFuncFactory.__init__().

Follow-up to ff17ef1ada.
This commit is contained in:
Sergey Fedoseev 2019-10-20 23:48:11 +05:00
parent a905891159
commit 7b77505bc9

View File

@ -139,7 +139,7 @@ class GEOSFuncFactory:
restype = None
errcheck = None
def __init__(self, func_name, *args, restype=None, errcheck=None, argtypes=None, **kwargs):
def __init__(self, func_name, *, restype=None, errcheck=None, argtypes=None):
self.func_name = func_name
if restype is not None:
self.restype = restype
@ -147,8 +147,6 @@ class GEOSFuncFactory:
self.errcheck = errcheck
if argtypes is not None:
self.argtypes = argtypes
self.args = args
self.kwargs = kwargs
def __call__(self, *args, **kwargs):
return self.func(*args, **kwargs)