The diff is big, but there are in fact only three kinds of changes
- ir.py had a synax error -- underminated [
- forward references are unnecessary in .pyi files (see https://github.com/python/typeshed/blob/9a76b13127ffa8365431dcc105fc111cdd267e7e/CONTRIBUTING.md?plain=1#L450-L454)
- methods defined via .def_static() are now decorated with @staticmethod