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

Function panic_after_error

src/err.rs:472–477  ·  view source on GitHub ↗
(_py: Python)

Source from the content-addressed store, hash-verified

470}
471
472fn panic_after_error(_py: Python) -> ! {
473 unsafe {
474 ffi::PyErr_Print();
475 }
476 panic!("Python API called failed");
477}
478
479#[inline]
480pub unsafe fn from_owned_ptr_or_panic(py: Python, p: *mut ffi::PyObject) -> PyObject {

Callers 2

from_owned_ptr_or_panicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected