Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgrunwald/rust-cpython
/ PyFile_CheckExact
Function
PyFile_CheckExact
python27-sys/src/fileobject.rs:16–18 ·
view source on GitHub ↗
(op: *mut PyObject)
Source
from the content-addressed store, hash-verified
14
15
#[inline(always)]
16
pub unsafe fn PyFile_CheckExact(op: *mut PyObject) -> c_int {
17
(Py_TYPE(op) == &mut PyFile_Type) as c_int
18
}
19
20
pub const PY_STDIOTEXTMODE: &str =
"b"
;
21
Callers
nothing calls this directly
Calls
1
Py_TYPE
Function · 0.70
Tested by
no test coverage detected