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 reason is quite simple: when the decorator module was first written, the __qualname__ attribute did not exist. It is a "recent" invention of Python. I will add that attribute in the next release.
functools.update_wrapper
setswrapper.__qualname__
towrapped.__qualname__
, is there a reason thatdecorator.decorator
doesn't do the same?I tried searching for a reason this is the case, but came up blank.
The text was updated successfully, but these errors were encountered: