Updated MLIR type stubs to work with pytype
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 Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D122300
parent
b0225ab8
Please register or sign in to comment