MCPcopy
hub / github.com/celery/celery / fill_paragraphs

Function fill_paragraphs

celery/utils/text.py:45–47  ·  view source on GitHub ↗

Fill paragraphs with newlines (or custom separator).

(s: str, width: int, sep: str = '\n')

Source from the content-addressed store, hash-verified

43
44
45def fill_paragraphs(s: str, width: int, sep: str = '\n') -> str:
46 """Fill paragraphs with newlines (or custom separator)."""
47 return sep.join(fill(p, width) for p in s.split(sep))
48
49
50def join(l: list[str], sep: str = '\n') -> str:

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…