We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 589cb6c commit e007a38Copy full SHA for e007a38
mlir/lib/Bindings/Python/IRCore.cpp
@@ -196,7 +196,7 @@ operations.
196
197
/// Helper for creating an @classmethod.
198
template <class Func, typename... Args>
199
-nb::object classmethod(Func f, Args... args) {
+static nb::object classmethod(Func f, Args... args) {
200
nb::object cf = nb::cpp_function(f, args...);
201
return nb::borrow<nb::object>((PyClassMethod_New(cf.ptr())));
202
}
0 commit comments