MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / incompatible_format_error

Function incompatible_format_error

src/buffer.rs:589–594  ·  view source on GitHub ↗
(py: Python)

Source from the content-addressed store, hash-verified

587}
588
589fn incompatible_format_error(py: Python) -> PyResult<()> {
590 Err(err::PyErr::new::<exc::BufferError, _>(
591 py,
592 "Slice type is incompatible with buffer format.",
593 ))
594}
595
596fn buffer_readonly_error(py: Python) -> PyResult<()> {
597 Err(err::PyErr::new::<exc::BufferError, _>(

Callers 3

copy_to_slice_implMethod · 0.85
to_vec_implMethod · 0.85
copy_from_slice_implMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected