MCPcopy Create free account
hub / github.com/astral-sh/ruff / unparse_singleton

Method unparse_singleton

crates/ruff_python_codegen/src/generator.rs:1394–1400  ·  view source on GitHub ↗
(&mut self, singleton: Singleton)

Source from the content-addressed store, hash-verified

1392 }
1393
1394 fn unparse_singleton(&mut self, singleton: Singleton) {
1395 match singleton {
1396 Singleton::None => self.p("None"),
1397 Singleton::True => self.p("True"),
1398 Singleton::False => self.p("False"),
1399 }
1400 }
1401
1402 fn unparse_parameters(&mut self, parameters: &Parameters) {
1403 let mut first = true;

Callers 1

unparse_patternMethod · 0.80

Calls 1

pMethod · 0.80

Tested by

no test coverage detected