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:
parent
a905891159
commit
7b77505bc9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user