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

Function PyFile_Check

python27-sys/src/fileobject.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 PyFile_Check(op: *mut PyObject) -> c_int {
12 PyObject_TypeCheck(op, &mut PyFile_Type)
13}
14
15#[inline(always)]
16pub unsafe fn PyFile_CheckExact(op: *mut PyObject) -> c_int {

Callers

nothing calls this directly

Calls 1

PyObject_TypeCheckFunction · 0.70

Tested by

no test coverage detected