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

Method unparse_singleton

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

Source from the content-addressed store, hash-verified

1377 }
1378
1379 fn unparse_singleton(&mut self, singleton: Singleton) {
1380 match singleton {
1381 Singleton::None => self.p("None"),
1382 Singleton::True => self.p("True"),
1383 Singleton::False => self.p("False"),
1384 }
1385 }
1386
1387 fn unparse_parameters(&mut self, parameters: &Parameters) {
1388 let mut first = true;

Callers 1

unparse_patternMethod · 0.80

Calls 1

pMethod · 0.80

Tested by

no test coverage detected