MCPcopy Index your code
hub / github.com/secdev/scapy / __getattr__

Method __getattr__

scapy/volatile.py:133–137  ·  view source on GitHub ↗
(self, attr)

Source from the content-addressed store, hash-verified

131 __hash__ = None # type: ignore
132
133 def __getattr__(self, attr):
134 # type: (str) -> Any
135 if attr in ["__setstate__", "__getstate__"]:
136 raise AttributeError(attr)
137 return getattr(self._fix(), attr)
138
139 def __str__(self):
140 # type: () -> str

Callers

nothing calls this directly

Calls 1

_fixMethod · 0.95

Tested by

no test coverage detected