MCPcopy Index your code
hub / github.com/dgrunwald/rust-cpython / Py_None

Function Py_None

python3-sys/src/object.rs:954–956  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

952
953#[inline(always)]
954pub unsafe fn Py_None() -> *mut PyObject {
955 &mut _Py_NoneStruct
956}
957
958#[inline(always)]
959pub unsafe fn Py_IsNone(x: *mut PyObject) -> c_int {

Callers 3

Py_IsNoneFunction · 0.70
NoneMethod · 0.50
is_noneMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected