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

Method p_delim

crates/codegen/src/unparse.rs:51–53  ·  view source on GitHub ↗
(&mut self, first: &mut bool, s: &str)

Source from the content-addressed store, hash-verified

49 }
50
51 fn p_delim(&mut self, first: &mut bool, s: &str) -> fmt::Result {
52 self.p_if(!core::mem::take(first), s)
53 }
54
55 fn write_fmt(&mut self, f: fmt::Arguments<'_>) -> fmt::Result {
56 self.f.write_fmt(f)

Callers 2

unparse_exprMethod · 0.80
unparse_argumentsMethod · 0.80

Calls 2

takeFunction · 0.85
p_ifMethod · 0.80

Tested by

no test coverage detected