(&self, py: Python, args: A, kwargs: Option<&PyDict>)
| 66 | /// This is equivalent to the Python expression: `self(*args, **kwargs)` |
| 67 | #[inline] |
| 68 | pub fn call<A>(&self, py: Python, args: A, kwargs: Option<&PyDict>) -> PyResult<PyObject> |
| 69 | where |
| 70 | A: ToPyObject<ObjectType = PyTuple>, |
| 71 | { |
| 72 | args.with_borrowed_ptr(py, |args| unsafe { |
| 73 | result_from_owned_ptr( |
| 74 | py, |
| 75 | ffi::PyObject_Call(self.0.as_ptr(), args, kwargs.as_ptr()), |
| 76 | ) |
| 77 | }) |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | impl PartialEq for PyType { |
nothing calls this directly
no test coverage detected