(&self, py: Python, args: A, kwargs: Option<&PyDict>)
| 208 | /// * otherwise, a Rust tuple with 1 or more elements |
| 209 | #[inline] |
| 210 | fn call<A>(&self, py: Python, args: A, kwargs: Option<&PyDict>) -> PyResult<PyObject> |
| 211 | where |
| 212 | A: ToPyObject<ObjectType = PyTuple>, |
| 213 | { |
| 214 | args.with_borrowed_ptr(py, |args| unsafe { |
| 215 | err::result_from_owned_ptr(py, ffi::PyObject_Call(self.as_ptr(), args, kwargs.as_ptr())) |
| 216 | }) |
| 217 | } |
| 218 | |
| 219 | /// Calls a method on the object. |
| 220 | /// This is equivalent to the Python expression: 'self.name(*args, **kwargs)' |
no test coverage detected