Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/secdev/scapy
/ __str__
Method
__str__
scapy/volatile.py:501–503 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
499
500
class
_RandString(RandField[_S], Generic[_S]):
501
def
__str__(self):
502
# type: () -> str
503
return
plain_str(self._fix())
504
505
def
__bytes__(self):
506
# type: () -> bytes
Callers
nothing calls this directly
Calls
2
plain_str
Function · 0.90
_fix
Method · 0.45
Tested by
no test coverage detected