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

Function Py_False

python3-sys/src/boolobject.rs:20–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19#[inline(always)]
20pub unsafe fn Py_False() -> *mut PyObject {
21 &mut _Py_FalseStruct as *mut PyLongObject as *mut PyObject
22}
23
24#[inline(always)]
25pub unsafe fn Py_True() -> *mut PyObject {

Callers 3

Py_IsFalseFunction · 0.70
FalseMethod · 0.50
with_borrowed_ptrMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected