MCPcopy
hub / github.com/PyMySQL/PyMySQL / printable

Function printable

pymysql/protocol.py:22–25  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

20
21def dump_packet(data): # pragma: no cover
22 def printable(data):
23 if 32 <= data < 127:
24 return chr(data)
25 return "."
26
27 try:
28 print("packet length:", len(data))

Callers 1

dump_packetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…