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

Function PyTraceBack_Check

python3-sys/src/traceback.rs:14–16  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

12
13#[inline(always)]
14pub unsafe fn PyTraceBack_Check(op: *mut PyObject) -> c_int {
15 (Py_TYPE(op) == &mut PyTraceBack_Type) as c_int
16}

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected