remove unused default parameters
This commit is contained in:
parent
8a39c4be56
commit
504d33f893
@ -30,11 +30,7 @@ def get_loss_color(loss):
|
||||
("orange" if abs(loss) > LOSS_WARN_LEVEL * 100 else "green"))
|
||||
|
||||
|
||||
def _identity(*x):
|
||||
return x
|
||||
|
||||
|
||||
def merge_sorted(a, b, missing=_identity, inserted=_identity, kept=_identity):
|
||||
def merge_sorted(a, b, missing, inserted, kept):
|
||||
def _next(iterator):
|
||||
try:
|
||||
return next(iterator)
|
||||
|
Loading…
x
Reference in New Issue
Block a user