(py: Python)
| 587 | } |
| 588 | |
| 589 | fn 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 | |
| 596 | fn buffer_readonly_error(py: Python) -> PyResult<()> { |
| 597 | Err(err::PyErr::new::<exc::BufferError, _>( |
no outgoing calls
no test coverage detected