MCPcopy Index your code
hub / github.com/secdev/scapy / tex_escape

Function tex_escape

scapy/utils.py:1106–1111  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

1104
1105
1106def tex_escape(x):
1107 # type: (str) -> str
1108 s = ""
1109 for c in x:
1110 s += _TEX_TR.get(c, c)
1111 return s
1112
1113
1114def colgen(*lstcol, # type: Any

Callers 6

canvas_dumpMethod · 0.90
to_latexFunction · 0.90
__getattr__Method · 0.90
apply_ipython_styleFunction · 0.90
latex_info_lineFunction · 0.90
campaign_to_LATEXFunction · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected