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

Function Py_IsNone

python3-sys/src/object.rs:959–961  ·  view source on GitHub ↗
(x: *mut PyObject)

Source from the content-addressed store, hash-verified

957
958#[inline(always)]
959pub unsafe fn Py_IsNone(x: *mut PyObject) -> c_int {
960 (x == Py_None()) as c_int
961}
962
963#[inline(always)]
964pub unsafe fn Py_NotImplemented() -> *mut PyObject {

Callers

nothing calls this directly

Calls 1

Py_NoneFunction · 0.70

Tested by

no test coverage detected