llvm-project
e6d1deae - [MLIR][Python] make Sliceable inherit from Sequence (#170551)

Commit
136 days ago
[MLIR][Python] make Sliceable inherit from Sequence (#170551) Generates type stubs like ```python class RegionSequence(Sequence[Region]): def __add__(self, arg: RegionSequence, /) -> list[Region]: ... def __iter__(self) -> RegionIterator: """Returns an iterator over the regions in the sequence.""" ```
Author
Parents
Loading