Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMySQL/PyMySQL
/ printable
Function
printable
pymysql/protocol.py:21–24 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
19
20
def
dump_packet(data):
# pragma: no cover
21
def
printable(data):
22
if
32 <= data < 127:
23
return
chr(data)
24
return
"."
25
26
try
:
27
print(
"packet length:"
, len(data))
Callers
1
dump_packet
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected