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

Method False

src/python.rs:333–337  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

331 #[allow(non_snake_case)] // the Python keyword starts with uppercase
332 #[inline]
333 pub fn False(self) -> PyBool {
334 unsafe {
335 PyObject::from_borrowed_ptr(self, ffi::Py_False()).unchecked_cast_into::<PyBool>()
336 }
337 }
338
339 /// Gets the Python builtin value `NotImplemented`.
340 #[allow(non_snake_case)] // the Python keyword starts with uppercase

Callers 1

getMethod · 0.80

Calls 1

Py_FalseFunction · 0.50

Tested by

no test coverage detected