Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
62
def
escape_less(s: str) -> str:
63
return
re.sub(r
'([?:.%\\])'
, r
'\\\1'
, s)
64
65
66
def
plain(text: str) -> str:
Callers
1
pipe_pager
Function · 0.85
Calls
1
sub
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…