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

Function Binary

pymysql/__init__.py:127–129  ·  view source on GitHub ↗

Return x as a binary type.

(x)

Source from the content-addressed store, hash-verified

125
126
127def Binary(x):
128 """Return x as a binary type."""
129 return bytes(x)
130
131
132def thread_safe():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected