We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63e72e2 commit 509a112Copy full SHA for 509a112
nibabel/deprecated.py
@@ -31,10 +31,6 @@ class ModuleProxy(object):
31
def __init__(self, module_name):
32
self._module_name = module_name
33
34
- def __hasattr__(self, key):
35
- mod = __import__(self._module_name, fromlist=[''])
36
- return hasattr(mod, key)
37
-
38
def __getattr__(self, key):
39
mod = __import__(self._module_name, fromlist=[''])
40
return getattr(mod, key)
0 commit comments