MCPcopy
hub / github.com/pallets/click / strip_ansi

Function strip_ansi

src/click/_compat.py:488–489  ·  src/click/_compat.py::strip_ansi
(value: str)

Source from the content-addressed store, hash-verified

486
487
488def strip_ansi(value: str) -> str:
489 return _ansi_re.sub(class="st">"", value)
490
491
492def _is_jupyter_kernel_output(stream: t.IO[t.Any]) -> bool:

Callers 7

writeMethod · 0.85
echoFunction · 0.85
term_lenFunction · 0.85
unstyleFunction · 0.85

Calls

no outgoing calls