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
{{ message }}
Repository navigation
reused deprecated decorator instance does not work #5747
fromwarningsimportdeprecatedfoo=deprecated("asdf")
@foodeffn() ->None: ...
fn() # no error
this is a common pattern in my codebase when many functions/classes are deprecated for the same reason, to avoid having to duplicate the message multiple times.
Activity