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

Method into_iterable_iter

crates/vm/src/builtins/set.rs:1322–1327  ·  view source on GitHub ↗
(
        self,
        vm: &VirtualMachine,
    )

Source from the content-addressed store, hash-verified

1320 }
1321
1322 fn into_iterable_iter(
1323 self,
1324 vm: &VirtualMachine,
1325 ) -> PyResult<impl core::iter::Iterator<Item = ArgIterable>> {
1326 Ok(core::iter::once(self.into_iterable(vm)?))
1327 }
1328
1329 fn as_inner(&self) -> &PySetInner {
1330 match_class!(match self.object.as_object() {

Callers 3

__ior__Method · 0.80
__isub__Method · 0.80
__ixor__Method · 0.80

Calls 2

onceFunction · 0.85
into_iterableMethod · 0.80

Tested by

no test coverage detected