mirror of
https://github.com/django/django.git
synced 2025-01-18 14:24:39 +00:00
Removed unused *args and **kwargs from GEOSFuncFactory.__init__().
Follow-up to ff17ef1adab864d2c165d50501fa0b0684808d07.
This commit is contained in:
parent
a905891159
commit
7b77505bc9
@ -139,7 +139,7 @@ class GEOSFuncFactory:
|
|||||||
restype = None
|
restype = None
|
||||||
errcheck = 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
|
self.func_name = func_name
|
||||||
if restype is not None:
|
if restype is not None:
|
||||||
self.restype = restype
|
self.restype = restype
|
||||||
@ -147,8 +147,6 @@ class GEOSFuncFactory:
|
|||||||
self.errcheck = errcheck
|
self.errcheck = errcheck
|
||||||
if argtypes is not None:
|
if argtypes is not None:
|
||||||
self.argtypes = argtypes
|
self.argtypes = argtypes
|
||||||
self.args = args
|
|
||||||
self.kwargs = kwargs
|
|
||||||
|
|
||||||
def __call__(self, *args, **kwargs):
|
def __call__(self, *args, **kwargs):
|
||||||
return self.func(*args, **kwargs)
|
return self.func(*args, **kwargs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user