py_setitem method

bool py_setitem(
  1. py_Ref self,
  2. py_Ref key,
  3. py_Ref val
)

Python equivalent to self[key] = val.

Implementation

bool py_setitem(
  py_Ref self,
  py_Ref key,
  py_Ref val,
) {
  return _py_setitem(
    self,
    key,
    val,
  );
}