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

Function PyTuple_CheckExact

python3-sys/src/tupleobject.rs:25–27  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

23
24#[inline(always)]
25pub unsafe fn PyTuple_CheckExact(op: *mut PyObject) -> c_int {
26 (Py_TYPE(op) == &mut PyTuple_Type) as c_int
27}
28
29#[cfg_attr(windows, link(name = "pythonXY"))]
30extern "C" {

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected