(_cls: &Py<PyType>, fmt: Self::Args, vm: &VirtualMachine)
| 243 | type Args = IntoStructFormatBytes; |
| 244 | |
| 245 | fn py_new(_cls: &Py<PyType>, fmt: Self::Args, vm: &VirtualMachine) -> PyResult<Self> { |
| 246 | let spec = fmt.format_spec(vm)?; |
| 247 | let format = fmt.0; |
| 248 | Ok(Self { spec, format }) |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | #[pyclass(with(Constructor, Representable))] |
nothing calls this directly
no test coverage detected