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

Function escape_bytes

pymysql/converters.py:87–88  ·  view source on GitHub ↗
(value, mapping=None)

Source from the content-addressed store, hash-verified

85
86
87def escape_bytes(value, mapping=None) -> str:
88 return "_binary X'%s'" % value.hex()
89
90
91def escape_str(value, mapping=None) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected