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

Function escape_bytes

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

Source from the content-addressed store, hash-verified

80
81
82def escape_bytes(value, mapping=None) -> str:
83 return "_binary X'%s'" % value.hex()
84
85
86def escape_str(value, mapping=None) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected