py_dict_getitem method

int py_dict_getitem(
  1. py_Ref self,
  2. py_Ref key
)

-1: error, 0: not found, 1: found

Implementation

int py_dict_getitem(
  py_Ref self,
  py_Ref key,
) {
  return _py_dict_getitem(
    self,
    key,
  );
}