Make `deprecate` work for non-exists methods
Before #33325, `deprecate` works for non-exist methods. This is necessary, for example, if want to deprecate dynamically defined methods like attributes methods. Fixes #34646
Showing
想要评论请 注册 或 登录