MCPcopy
hub / github.com/rocky/python-uncompyle6 / escape_format

Function escape_format

uncompyle6/semantics/customize36.py:32–33  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

30
31
32def escape_format(s):
33 return s.replace("\r", "\\r").replace("\n", "\\n").replace("'''", '"""')
34
35
36#######################

Callers 1

n_formatted_value_attrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected