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

Function PySeqIter_Check

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

Source from the content-addressed store, hash-verified

13
14#[inline(always)]
15pub unsafe fn PySeqIter_Check(op: *mut PyObject) -> c_int {
16 (Py_TYPE(op) == &mut PySeqIter_Type) as c_int
17}
18
19#[inline(always)]
20pub unsafe fn PyCallIter_Check(op: *mut PyObject) -> c_int {

Callers

nothing calls this directly

Calls 1

Py_TYPEFunction · 0.70

Tested by

no test coverage detected