(
&'static self,
ctx: &Context,
obj: PyObjectRef,
class: &'static Py<PyType>,
)
| 184 | } |
| 185 | |
| 186 | pub fn build_bound_method( |
| 187 | &'static self, |
| 188 | ctx: &Context, |
| 189 | obj: PyObjectRef, |
| 190 | class: &'static Py<PyType>, |
| 191 | ) -> PyRef<PyNativeMethod> { |
| 192 | PyRef::new_ref( |
| 193 | self.to_bound_method(obj, class), |
| 194 | ctx.types.builtin_function_or_method_type.to_owned(), |
| 195 | None, |
| 196 | ) |
| 197 | } |
| 198 | |
| 199 | pub fn build_classmethod( |
| 200 | &'static self, |
no test coverage detected