(&self, descr: &PyObject, obj: PyObjectRef)
| 118 | } |
| 119 | |
| 120 | pub fn call_get_descriptor(&self, descr: &PyObject, obj: PyObjectRef) -> Option<PyResult> { |
| 121 | let cls = obj.class().to_owned().into(); |
| 122 | self.call_get_descriptor_specific(descr, Some(obj), Some(cls)) |
| 123 | } |
| 124 | |
| 125 | pub fn call_if_get_descriptor(&self, attr: &PyObject, obj: PyObjectRef) -> PyResult { |
| 126 | self.call_get_descriptor(attr, obj) |
no test coverage detected