Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/prometheus/client_python
/ _replace_help_escaping
Function
_replace_help_escaping
prometheus_client/parser.py:36–37 ·
view source on GitHub ↗
(s: str)
Source
from the content-addressed store, hash-verified
34
35
36
def
_replace_help_escaping(s: str) -> str:
37
return
HELP_ESCAPING_RE.sub(replace_escape_sequence, s)
38
39
40
def
_replace_escaping(s: str) -> str:
Callers
1
text_fd_to_metric_families
Function · 0.85
Calls
1
sub
Method · 0.45
Tested by
no test coverage detected