py_setattr method

bool py_setattr(
  1. py_Ref self,
  2. int name,
  3. py_Ref val
)

Python equivalent to setattr(self, name, val).

Implementation

bool py_setattr(
  py_Ref self,
  int name,
  py_Ref val,
) {
  return _py_setattr(
    self,
    name,
    val,
  );
}