Method
repr_wtf8
(zelf: &Py<Self>, vm: &VirtualMachine)
Source from the content-addressed store, hash-verified
| 251 | impl Representable for PyTemplate { |
| 252 | #[inline] |
| 253 | fn repr_wtf8(zelf: &Py<Self>, vm: &VirtualMachine) -> PyResult<Wtf8Buf> { |
| 254 | let strings_repr = zelf.strings.as_object().repr(vm)?; |
| 255 | let interp_repr = zelf.interpolations.as_object().repr(vm)?; |
| 256 | Ok(wtf8_concat!( |
| 257 | "Template(strings=", |
| 258 | strings_repr.as_wtf8(), |
| 259 | ", interpolations=", |
| 260 | interp_repr.as_wtf8(), |
| 261 | ')', |
| 262 | )) |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | /// Iterator for Template objects |
Callers
nothing calls this directly
Tested by
no test coverage detected