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

Method insert_item

src/objects/list.rs:86–88  ·  view source on GitHub ↗
(&self, py: Python, index: usize, item: PyObject)

Source from the content-addressed store, hash-verified

84 #[deprecated(since = "0.3.1", note = "use list.insert() instead")]
85 #[doc(hidden)]
86 pub fn insert_item(&self, py: Python, index: usize, item: PyObject) {
87 self.insert(py, index, item);
88 }
89
90 /// Appends an item to the end of the list
91 pub fn append(&self, _py: Python, item: PyObject) {

Callers

nothing calls this directly

Calls 1

insertMethod · 0.80

Tested by

no test coverage detected