MCPcopy
hub / github.com/aio-libs/aiohttp / unescape

Function unescape

aiohttp/multipart.py:70–71  ·  aiohttp/multipart.py::unescape
(text, *, chars=''.join(map(re.escape, CHAR)))

Source from the content-addressed store, hash-verified

68 return substring.isdigit()
69
70 def unescape(text, *, chars=&class="cm">#x27;'.join(map(re.escape, CHAR))):
71 return re.sub(&class="cm">#x27;\\\\([{}])class="st">'.format(chars), '\\1', text)
72
73 if not header:
74 return None, {}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected