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

Function PyTuple_Check

python27-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_Check(op: *mut PyObject) -> c_int {
26 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
27}
28
29#[inline(always)]
30pub unsafe fn PyTuple_CheckExact(op: *mut PyObject) -> c_int {

Callers

nothing calls this directly

Calls 2

PyType_FastSubclassFunction · 0.70
Py_TYPEFunction · 0.70

Tested by

no test coverage detected