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

Method make_frozenset

crates/vm/src/stdlib/marshal.rs:436–443  ·  view source on GitHub ↗
(
            &self,
            it: impl Iterator<Item = Self::Value>,
        )

Source from the content-addressed store, hash-verified

434 Ok(set.into())
435 }
436 fn make_frozenset(
437 &self,
438 it: impl Iterator<Item = Self::Value>,
439 ) -> Result<Self::Value, marshal::MarshalError> {
440 Ok(PyFrozenSet::from_iter(self.0, it)
441 .unwrap()
442 .to_pyobject(self.0))
443 }
444 fn make_dict(
445 &self,
446 it: impl Iterator<Item = (Self::Value, Self::Value)>,

Callers

nothing calls this directly

Calls 2

to_pyobjectMethod · 0.45
unwrapMethod · 0.45

Tested by

no test coverage detected