diff options
author | Cory Benfield <lukasaoz@gmail.com> | 2016-03-21 09:31:27 +0000 |
---|---|---|
committer | Cory Benfield <lukasaoz@gmail.com> | 2016-03-21 09:31:27 +0000 |
commit | bb6997c45e24f4391ed89be08b258aef1f2d872f (patch) | |
tree | 8745feba4218f8cd591239fe62933f54d675a96e | |
parent | 2e820e2a9c43be843a31db10900f19f735b28232 (diff) | |
download | cryptography-bb6997c45e24f4391ed89be08b258aef1f2d872f.tar.gz cryptography-bb6997c45e24f4391ed89be08b258aef1f2d872f.tar.bz2 cryptography-bb6997c45e24f4391ed89be08b258aef1f2d872f.zip |
Add __delattr__ to _ModuleWithDeprecations.
-rw-r--r-- | src/cryptography/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptography/utils.py b/src/cryptography/utils.py index 53795732..da7df76e 100644 --- a/src/cryptography/utils.py +++ b/src/cryptography/utils.py @@ -119,6 +119,9 @@ class _ModuleWithDeprecations(object): def __setattr__(self, attr, value): setattr(self._module, attr, value) + def __delattr__(self, attr): + delattr(self._module, attr) + def __dir__(self): return ["_module"] + dir(self._module) |