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

Method fmt

crates/vm/src/builtins/set.rs:142–145  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

140
141impl fmt::Debug for PySet {
142 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
143 // TODO: implement more detailed, non-recursive Debug formatter
144 f.write_str("set")
145 }
146}
147
148impl fmt::Debug for PyFrozenSet {

Callers

nothing calls this directly

Calls 4

write_strMethod · 0.45
finishMethod · 0.45
iterMethod · 0.45
elementsMethod · 0.45

Tested by

no test coverage detected