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
Using @wraps in decorators is a common pattern to help us know where the decorator originated when debugging or when saving it as a name, otherwise, when you get a hold of the function, it's impossible to know where it came from.
Also, @wraps makes sure the doc string etc match the original function.
Using
@wraps
in decorators is a common pattern to help us know where the decorator originated when debugging or when saving it as a name, otherwise, when you get a hold of the function, it's impossible to know where it came from.Also,
@wraps
makes sure the doc string etc match the original function.Originally posted by @matham in #1 (comment)
The text was updated successfully, but these errors were encountered: