(zelf: &Py<Self>, vm: &VirtualMachine)
| 1793 | |
| 1794 | #[inline] |
| 1795 | fn repr(zelf: &Py<Self>, vm: &VirtualMachine) -> PyResult<PyRef<PyStr>> { |
| 1796 | let repr = Self::repr_wtf8(zelf, vm)?; |
| 1797 | Ok(vm.ctx.new_str(repr)) |
| 1798 | } |
| 1799 | |
| 1800 | fn repr_wtf8(zelf: &Py<Self>, vm: &VirtualMachine) -> PyResult<Wtf8Buf> { |
| 1801 | Self::repr_str(zelf, vm).map(|utf8| utf8.into()) |
no test coverage detected