(py: Python)
| 580 | } |
| 581 | |
| 582 | fn slice_length_error(py: Python) -> PyResult<()> { |
| 583 | Err(err::PyErr::new::<exc::BufferError, _>( |
| 584 | py, |
| 585 | "Slice length does not match buffer length.", |
| 586 | )) |
| 587 | } |
| 588 | |
| 589 | fn incompatible_format_error(py: Python) -> PyResult<()> { |
| 590 | Err(err::PyErr::new::<exc::BufferError, _>( |
no outgoing calls
no test coverage detected