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

Function PyFloat_Check

python3-sys/src/floatobject.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 PyFloat_Check(op: *mut PyObject) -> c_int {
12 PyObject_TypeCheck(op, &mut PyFloat_Type)
13}
14
15#[inline(always)]
16pub unsafe fn PyFloat_CheckExact(op: *mut PyObject) -> c_int {

Callers

nothing calls this directly

Calls 1

PyObject_TypeCheckFunction · 0.70

Tested by

no test coverage detected