(self, ctx: &Context)
| 46 | } |
| 47 | |
| 48 | pub fn into_ref(self, ctx: &Context) -> PyRef<Self> { |
| 49 | PyRef::new_ref( |
| 50 | self, |
| 51 | ctx.types.builtin_function_or_method_type.to_owned(), |
| 52 | None, |
| 53 | ) |
| 54 | } |
| 55 | |
| 56 | // PyCFunction_GET_SELF |
| 57 | pub fn get_self(&self) -> Option<&PyObject> { |
no test coverage detected