call method

PyObject call(
  1. PyTuple args, [
  2. PyDict? kwargs
])

Implementation

PyObject call(PyTuple args, [PyDict? kwargs]) => .fromHandle(
  checked(
    () => api.PyObject_Call(
      ptr,
      args.ptr,
      kwargs == null ? nullptr : kwargs.ptr,
    ),
  ),
);