Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PierreGode/Ragnar
/ printable
Function
printable
pager_lib/pymysql/protocol.py:22–25 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
20
21
def
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_packet
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected