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

Function PyTraceBack_Check

python27-sys/src/traceback.rs:31–33  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

29
30#[inline(always)]
31pub unsafe fn PyTraceBack_Check(op: *mut PyObject) -> c_int {
32 (Py_TYPE(op) == &mut PyTraceBack_Type) as c_int
33}

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected