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

Function _readonly

scapy/config.py:135–139  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

133
134
135def _readonly(name):
136 # type: (str) -> NoReturn
137 default = Conf.__dict__[name].default
138 Interceptor.set_from_hook(conf, name, default)
139 raise ValueError("Read-only value !")
140
141
142ReadOnlyAttribute = functools.partial(

Callers 1

config.pyFile · 0.85

Calls 1

set_from_hookMethod · 0.80

Tested by

no test coverage detected