Skip to content

Commit 43da9a2

Browse files
Update mlir/lib/Bindings/Python/Rewrite.cpp
Co-authored-by: Maksim Levental <[email protected]>
1 parent a57961f commit 43da9a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Bindings/Python/Rewrite.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ void mlir::python::populateRewriteSubmodule(nb::module_ &m) {
250250
nb::sig("def replace_op(self, op: " MAKE_MLIR_PYTHON_QUALNAME("ir.Operation")
251251
", values: list[" MAKE_MLIR_PYTHON_QUALNAME("ir.Value") "]) -> None")
252252
// clang-format on
253-
)
253+
nb::arg("op"), nb::arg("values"))
254254
.def("erase_op", &PyPatternRewriter::eraseOp, "Erase an operation.",
255255
// clang-format off
256256
nb::sig("def erase_op(self, op: " MAKE_MLIR_PYTHON_QUALNAME("ir.Operation") ") -> None")

0 commit comments

Comments
 (0)