MCPcopy Create free account
hub / github.com/ml-explore/mlx / gc_func_getattro

Function gc_func_getattro

python/src/mlx_func.cpp:72–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 {nullptr, nullptr, nullptr, nullptr, nullptr}};
71
72static PyObject* gc_func_getattro(PyObject* self, PyObject* name_) {
73 gc_func* w = (gc_func*)self;
74 return PyObject_GenericGetAttr(w->orig_func, name_);
75}
76
77// Table of custom type slots we want to install
78PyType_Slot gc_func_slots[] = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected