(
&self,
descr: &PyObject,
obj: Option<PyObjectRef>,
cls: Option<PyObjectRef>,
)
| 108 | } |
| 109 | |
| 110 | pub fn call_get_descriptor_specific( |
| 111 | &self, |
| 112 | descr: &PyObject, |
| 113 | obj: Option<PyObjectRef>, |
| 114 | cls: Option<PyObjectRef>, |
| 115 | ) -> Option<PyResult> { |
| 116 | let descr_get = descr.class().slots.descr_get.load()?; |
| 117 | Some(descr_get(descr.to_owned(), obj, cls, self)) |
| 118 | } |
| 119 | |
| 120 | pub fn call_get_descriptor(&self, descr: &PyObject, obj: PyObjectRef) -> Option<PyResult> { |
| 121 | let cls = obj.class().to_owned().into(); |
no test coverage detected