MCPcopy Index your code
hub / github.com/python/cpython / escape_less

Function escape_less

Lib/_pyrepl/pager.py:62–63  ·  view source on GitHub ↗
(s: str)

Source from the content-addressed store, hash-verified

60
61
62def escape_less(s: str) -> str:
63 return re.sub(r'([?:.%\\])', r'\\\1', s)
64
65
66def plain(text: str) -> str:

Callers 1

pipe_pagerFunction · 0.85

Calls 1

subMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…