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