Style fixes

This commit is contained in:
Paul R. Tagliamonte 2013-04-06 13:15:32 -04:00
parent 0eb795b4a5
commit 914011175f

View File

@ -67,14 +67,14 @@ def checkargs(exact=None, min=None, max=None):
exact)
if min is not None and (len(expression) - 1) < min:
_raise_wrong_args_number(expression,
"`%%s' needs at least %d arguments, got %%d" %
min)
_raise_wrong_args_number(
expression,
"`%%s' needs at least %d arguments, got %%d" % (min))
if max is not None and (len(expression) - 1) > max:
_raise_wrong_args_number(expression,
"`%%s' needs at most %d arguments, got %%d" %
max)
_raise_wrong_args_number(
expression,
"`%%s' needs at most %d arguments, got %%d" % (max))
return fn(self, expression)