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

Method NotImplemented

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

Source from the content-addressed store, hash-verified

340 #[allow(non_snake_case)] // the Python keyword starts with uppercase
341 #[inline]
342 pub fn NotImplemented(self) -> PyObject {
343 unsafe { PyObject::from_borrowed_ptr(self, ffi::Py_NotImplemented()) }
344 }
345
346 /// Gets the Python type object for type T.
347 pub fn get_type<T>(self) -> PyType

Callers

nothing calls this directly

Calls 1

Py_NotImplementedFunction · 0.50

Tested by

no test coverage detected