(
&'static self,
ctx: &Context,
class: &'static Py<PyType>,
)
| 197 | } |
| 198 | |
| 199 | pub fn build_classmethod( |
| 200 | &'static self, |
| 201 | ctx: &Context, |
| 202 | class: &'static Py<PyType>, |
| 203 | ) -> PyRef<PyMethodDescriptor> { |
| 204 | PyRef::new_ref( |
| 205 | self.to_method(class, ctx), |
| 206 | ctx.types.method_descriptor_type.to_owned(), |
| 207 | None, |
| 208 | ) |
| 209 | } |
| 210 | |
| 211 | pub fn build_staticmethod( |
| 212 | &'static self, |
no test coverage detected