// PyObject* PyMethod_Self(PyObject *meth) // Return value: Borrowed reference. // Return the instance associated with the method meth if it is bound, otherwise return NULL. func PyMethod_Self(meth *PyObject) *PyObject { return togo(C.PyMethod_Self(topy(meth))) }
func (m *MethodObj) Self() Object { ret := C.PyMethod_Self(c(m)) return newObject(ret) }