Skip to content

Commit a035b35

Browse files
Revert "Fixed typo in dunder get/set methods in PyAttrBuilderMap (llvm#121794)"
This reverts commit a0f5bbc.
1 parent c87d8b8 commit a035b35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Bindings/Python/IRCore.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ struct PyAttrBuilderMap {
283283
static void bind(py::module &m) {
284284
py::class_<PyAttrBuilderMap>(m, "AttrBuilder", py::module_local())
285285
.def_static("contains", &PyAttrBuilderMap::dunderContains)
286-
.def_static("get", &PyAttrBuilderMap::dunderGetItemNamed)
287-
.def_static("insert", &PyAttrBuilderMap::dunderSetItemNamed,
286+
.def_static("get", &PyAttrBuilderMap::dundeGetItemNamed)
287+
.def_static("insert", &PyAttrBuilderMap::dundeSetItemNamed,
288288
"attribute_kind"_a, "attr_builder"_a, "replace"_a = false,
289289
"Register an attribute builder for building MLIR "
290290
"attributes from python values.");

0 commit comments

Comments
 (0)