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

Function PyModule_Check

pyo3-ffi/src/moduleobject.rs:20–22  ·  view source on GitHub ↗
(op: *mut PyObject)

Source from the content-addressed store, hash-verified

18#[inline]
19#[cfg(not(RustPython))]
20pub unsafe fn PyModule_Check(op: *mut PyObject) -> c_int {
21 PyObject_TypeCheck(op, &raw mut PyModule_Type)
22}
23
24#[inline]
25#[cfg(not(RustPython))]

Callers

nothing calls this directly

Calls 1

PyObject_TypeCheckFunction · 0.85

Tested by

no test coverage detected