MCPcopy Index your code
hub / github.com/prometheus/client_python / _replace_escaping

Function _replace_escaping

prometheus_client/parser.py:40–41  ·  view source on GitHub ↗
(s: str)

Source from the content-addressed store, hash-verified

38
39
40def _replace_escaping(s: str) -> str:
41 return ESCAPING_RE.sub(replace_escape_sequence, s)
42
43
44def _is_character_escaped(s: str, charpos: int) -> bool:

Callers 1

_unquote_unescapeFunction · 0.70

Calls 1

subMethod · 0.45

Tested by

no test coverage detected