MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / unquote

Function unquote

mitmproxy/command_lexer.py:37–41  ·  view source on GitHub ↗
(x: str)

Source from the content-addressed store, hash-verified

35
36
37def unquote(x: str) -> str:
38 if len(x) > 1 and x[0] in "'\"" and x[0] == x[-1]:
39 return x[1:-1]
40 else:
41 return x

Callers 1

executeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…