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

Function PyComplex_Check

python3-sys/src/complexobject.rs:11–13  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

9
10#[inline(always)]
11pub unsafe fn PyComplex_Check(op: *mut PyObject) -> c_int {
12 PyObject_TypeCheck(op, &mut PyComplex_Type)
13}
14
15#[inline(always)]
16pub unsafe fn PyComplex_CheckExact(op: *mut PyObject) -> c_int {

Callers

nothing calls this directly

Calls 1

PyObject_TypeCheckFunction · 0.70

Tested by

no test coverage detected