mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
Refactor
This commit is contained in:
@@ -7,8 +7,6 @@ class ArgumentsChecker:
|
||||
|
||||
def check( self, args, kwds ):
|
||||
data = dict( kwds )
|
||||
if len( args ) + len( kwds ) == 0:
|
||||
raise TypeError()
|
||||
for arg, argumentName in itertools.izip( args, itertools.chain( self.__mandatoryParameters, self.__optionalParameters ) ):
|
||||
if argumentName in kwds:
|
||||
raise TypeError()
|
||||
|
||||
Reference in New Issue
Block a user