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

Function escape_sequence

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

Source from the content-addressed store, hash-verified

37
38
39def escape_sequence(val, charset=None, mapping=None):
40 n = []
41 for item in val:
42 quoted = escape_item(item, charset, mapping)
43 n.append(quoted)
44 return "(" + ",".join(n) + ")"
45
46
47def escape_set(val, charset=None, mapping=None):

Callers

nothing calls this directly

Calls 1

escape_itemFunction · 0.85

Tested by

no test coverage detected