pygobject-stubs
pygobject-stubs copied to clipboard
Expose deprecations using PEP 702
There is now PEP 702 – Marking deprecations using the type system, which might be useful for updating deprecated code.
@mat-xc do you know if the introspection files contain the information if the method is deprecated?
GI.BaseInfo.is_deprecated()
method is what PyGObject itself uses.