Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgrunwald/rust-cpython
/ PyList_CheckExact
Function
PyList_CheckExact
python3-sys/src/listobject.rs:19–21 ·
view source on GitHub ↗
(op: *mut PyObject)
Source
from the content-addressed store, hash-verified
17
18
#[inline(always)]
19
pub unsafe fn PyList_CheckExact(op: *mut PyObject) -> c_int {
20
(Py_TYPE(op) == &mut PyList_Type) as c_int
21
}
22
23
#[cfg_attr(windows, link(name =
"pythonXY"
))]
24
extern
"C"
{
Callers
nothing calls this directly
Calls
1
Py_TYPE
Function · 0.70
Tested by
no test coverage detected