MCPcopy Create free account
hub / github.com/PyO3/pyo3 / PyComplex_Check

Function PyComplex_Check

pyo3-ffi/src/complexobject.rs:12–14  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

10#[inline]
11#[cfg(not(RustPython))]
12pub unsafe fn PyComplex_Check(op: *mut PyObject) -> c_int {
13 PyObject_TypeCheck(op, &raw mut PyComplex_Type)
14}
15
16#[inline]
17#[cfg(not(RustPython))]

Callers

nothing calls this directly

Calls 1

PyObject_TypeCheckFunction · 0.85

Tested by

no test coverage detected