3 ms·
Couldn't this code: def inner(func): def nothing(*args, **kwargs): return func(*args, **kwargs) return nothing
by cabalamat 13y ago
Couldn't this code:
def inner(func):
def nothing(*args, **kwargs):
return func(*args, **kwargs)
return nothing
Be simplified to:
def inner(func):
return func