MCPcopy Index your code
hub / github.com/RustPython/RustPython / traverse

Method traverse

crates/vm/src/protocol/iter.rs:19–21  ·  view source on GitHub ↗
(&self, tracer_fn: &mut TraverseFn<'_>)

Source from the content-addressed store, hash-verified

17
18unsafe impl<O: Borrow<PyObject>> Traverse for PyIter<O> {
19 fn traverse(&self, tracer_fn: &mut TraverseFn<'_>) {
20 self.0.borrow().traverse(tracer_fn);
21 }
22}
23
24impl PyIter<PyObjectRef> {

Callers

nothing calls this directly

Calls 1

borrowMethod · 0.45

Tested by

no test coverage detected