(&self, vm: &VirtualMachine)
| 709 | |
| 710 | #[pymethod] |
| 711 | fn tobytes(&self, vm: &VirtualMachine) -> PyResult<PyBytesRef> { |
| 712 | self.try_not_released(vm)?; |
| 713 | let mut v = vec![]; |
| 714 | self.append_to(&mut v); |
| 715 | Ok(PyBytes::from(v).into_ref(&vm.ctx)) |
| 716 | } |
| 717 | |
| 718 | #[pymethod] |
| 719 | fn tolist(&self, vm: &VirtualMachine) -> PyResult<PyListRef> { |
nothing calls this directly
no test coverage detected