MCPcopy Create free account
hub / github.com/secdev/scapy / __repr__

Method __repr__

scapy/utils.py:1158–1160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1156 self._value = value
1157
1158 def __repr__(self):
1159 # type: () -> str
1160 return "<%s %s[%r]>" % (self.__dict__.get("_name", self.__class__.__name__), self._key, self._value) # noqa: E501
1161
1162 def __getattr__(self, attr):
1163 # type: (str) -> Any

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected