(&self, _newsize: PyIntRef, vm: &VirtualMachine)
| 1179 | #[cfg(unix)] |
| 1180 | #[pymethod] |
| 1181 | fn resize(&self, _newsize: PyIntRef, vm: &VirtualMachine) -> PyResult<()> { |
| 1182 | self.check_resizeable(vm)?; |
| 1183 | // TODO: implement using mremap on Linux |
| 1184 | Err(vm.new_system_error("mmap: resizing not available--no mremap()")) |
| 1185 | } |
| 1186 | |
| 1187 | #[cfg(windows)] |
| 1188 | #[pymethod] |
no test coverage detected