MCPcopy Index your code
hub / github.com/pathwaycom/pathway / plural

Function plural

python/pathway/cli.py:29–32  ·  view source on GitHub ↗
(n, singular, plural)

Source from the content-addressed store, hash-verified

27
28
29def plural(n, singular, plural):
30 if n == 1:
31 return f"1 {singular}"
32 return f"{n} {plural}"
33
34
35def get_temporary_paths(

Callers 1

create_process_handlesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected