MCPcopy Create free account
hub / github.com/pyca/cryptography / __delattr__

Method __delattr__

src/cryptography/utils.py:80–85  ·  view source on GitHub ↗
(self, attr: str)

Source from the content-addressed store, hash-verified

78 setattr(self._module, attr, value)
79
80 def __delattr__(self, attr: str) -> None:
81 obj = getattr(self._module, attr)
82 if isinstance(obj, _DeprecatedValue):
83 warnings.warn(obj.message, obj.warning_class, stacklevel=2)
84
85 delattr(self._module, attr)
86
87 def __dir__(self) -> typing.Sequence[str]:
88 return ["_module"] + dir(self._module)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected