2 ms·
It's all just method calls in python too! @foo def bar(): ... Is just syntactic sugar for: def bar(): ... bar = foo(bar)
by jefftk 4y ago
It's all just method calls in python too!
@foo
def bar():
...
Is just syntactic sugar for:
def bar():
...
bar = foo(bar)