MCPcopy Index your code
hub / github.com/RustPython/RustPython / format_spec

Method format_spec

crates/stdlib/src/pystruct.rs:48–50  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

46
47 impl IntoStructFormatBytes {
48 fn format_spec(&self, vm: &VirtualMachine) -> PyResult<FormatSpec> {
49 FormatSpec::parse(self.0.as_bytes(), vm)
50 }
51 }
52
53 fn get_buffer_offset(

Callers 7

packFunction · 0.45
pack_intoFunction · 0.45
unpackFunction · 0.45
unpack_fromFunction · 0.45
iter_unpackFunction · 0.45
calcsizeFunction · 0.45
py_newMethod · 0.45

Calls 2

parseFunction · 0.50
as_bytesMethod · 0.45

Tested by

no test coverage detected