(&self, vm: &VirtualMachine)
| 652 | |
| 653 | #[pygetset] |
| 654 | fn f_contiguous(&self, vm: &VirtualMachine) -> PyResult<bool> { |
| 655 | // TODO: column-major order |
| 656 | self.try_not_released(vm) |
| 657 | .map(|_| self.desc.ndim() <= 1 && self.desc.is_contiguous()) |
| 658 | } |
| 659 | |
| 660 | #[pymethod] |
| 661 | fn __enter__(zelf: PyRef<Self>, vm: &VirtualMachine) -> PyResult<PyRef<Self>> { |
nothing calls this directly
no test coverage detected