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

Method to_py_object

src/objects/boolobject.rs:35–37  ·  view source on GitHub ↗
(&self, py: Python)

Source from the content-addressed store, hash-verified

33
34 #[inline]
35 fn to_py_object(&self, py: Python) -> PyBool {
36 PyBool::get(py, *self)
37 }
38
39 #[inline]
40 fn with_borrowed_ptr<F, R>(&self, _py: Python, f: F) -> R

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected