[Mlir-commits] [mlir] [MLIR] [Python] More improvements to type annotations (PR #188468)
Maksim Levental
llvmlistbot at llvm.org
Wed Mar 25 05:46:00 PDT 2026
================
@@ -2523,7 +2523,7 @@ void PyOpAttributeMap::bind(nb::module_ &m) {
"Returns a list of attribute values.")
.def(
"items",
- [](PyOpAttributeMap &self) {
+ [](PyOpAttributeMap &self) -> nb::typed<nb::list, nb::tuple> {
----------------
makslevental wrote:
You sure about this one?
https://github.com/llvm/llvm-project/pull/188468
More information about the Mlir-commits
mailing list