(
&'static self,
ctx: &Context,
class: &'static Py<PyType>,
)
| 174 | } |
| 175 | |
| 176 | pub fn build_method( |
| 177 | &'static self, |
| 178 | ctx: &Context, |
| 179 | class: &'static Py<PyType>, |
| 180 | ) -> PyRef<PyMethodDescriptor> { |
| 181 | debug_assert!(self.flags.contains(PyMethodFlags::METHOD)); |
| 182 | let method = self.to_method(class, ctx); |
| 183 | PyRef::new_ref(method, ctx.types.method_descriptor_type.to_owned(), None) |
| 184 | } |
| 185 | |
| 186 | pub fn build_bound_method( |
| 187 | &'static self, |
no test coverage detected