(&self, attr: &PyObject, obj: PyObjectRef)
| 123 | } |
| 124 | |
| 125 | pub fn call_if_get_descriptor(&self, attr: &PyObject, obj: PyObjectRef) -> PyResult { |
| 126 | self.call_get_descriptor(attr, obj) |
| 127 | .unwrap_or_else(|| Ok(attr.to_owned())) |
| 128 | } |
| 129 | |
| 130 | #[inline] |
| 131 | pub fn call_method<T>(&self, obj: &PyObject, method_name: &str, args: T) -> PyResult |
no test coverage detected