You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The decorators that could be used as
@decorator()
def add(x, y):
return x+y
can now be used nonfunctional
@decorator
def add(x, y):
return x+y
Implements feature request in issue #191
The decorators that could be used as
@decorator_factory()
def add(x, y):
return x+y
can now be used nonfunctional
@decorator_factory
def add(x, y):
return x+y
Implements feature request in issue #191
The decorators that could be used as
@decorator_factory()
def add(x, y):
return x+y
can now be used nonfunctional
@decorator_factory
def add(x, y):
return x+y
Implements feature request in issue #191
The decorators that could be used as
@decorator_factory()
def add(x, y):
return x+y
can now be used nonfunctional
@decorator_factory
def add(x, y):
return x+y
Implements feature request in issue #191
Current, user need write
()
even though there is not input arguments for the decorator:We should also support the decorator without parentheses, for example:
The text was updated successfully, but these errors were encountered: