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

Method iter

src/objects/tuple.rs:91–93  ·  view source on GitHub ↗
(&self, py: Python)

Source from the content-addressed store, hash-verified

89
90 #[inline]
91 pub fn iter(&self, py: Python) -> slice::Iter<PyObject> {
92 self.as_slice(py).iter()
93 }
94}
95
96fn wrong_tuple_length(py: Python, t: &PyTuple, expected_length: usize) -> PyErr {

Callers 1

newMethod · 0.45

Calls 1

as_sliceMethod · 0.45

Tested by

no test coverage detected