(zelf: &Py<Self>, vm: &VirtualMachine)
| 763 | impl Representable for PyBaseException { |
| 764 | #[inline] |
| 765 | fn repr_str(zelf: &Py<Self>, vm: &VirtualMachine) -> PyResult<String> { |
| 766 | let repr_args = vm.exception_args_as_string(zelf.args(), false); |
| 767 | let cls = zelf.class(); |
| 768 | Ok(format!("{}({})", cls.name(), repr_args.iter().format(", "))) |
| 769 | } |
| 770 | } |
| 771 | |
| 772 | impl ExceptionZoo { |
nothing calls this directly
no test coverage detected