MCPcopy Create free account
hub / github.com/PyMySQL/PyMySQL / escape_sequence

Function escape_sequence

pymysql/converters.py:34–39  ·  view source on GitHub ↗
(val, charset=None, mapping=None)

Source from the content-addressed store, hash-verified

32
33
34def escape_sequence(val, charset=None, mapping=None):
35 n = []
36 for item in val:
37 quoted = escape_item(item, charset, mapping)
38 n.append(quoted)
39 return "(" + ",".join(n) + ")"
40
41
42def escape_set(val, charset=None, mapping=None):

Callers

nothing calls this directly

Calls 1

escape_itemFunction · 0.85

Tested by

no test coverage detected