MCPcopy
hub / github.com/celery/celery / join

Function join

celery/utils/text.py:50–52  ·  view source on GitHub ↗

Concatenate list of strings.

(l: list[str], sep: str = '\n')

Source from the content-addressed store, hash-verified

48
49
50def join(l: list[str], sep: str = '\n') -> str:
51 """Concatenate list of strings."""
52 return sep.join(v for v in l if v)
53
54
55def ensure_sep(sep: str, s: str, n: int = 2) -> str:

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected