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

Function PyRange_Check

python3-sys/src/rangeobject.rs:13–15  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected