forked from VimPlug/jedi
getattr is now also allowed on modules, fixes #116
This commit is contained in:
@@ -408,7 +408,7 @@ class Execution(Executable):
|
||||
return []
|
||||
|
||||
for obj in objects:
|
||||
if not isinstance(obj, (Instance, Class)):
|
||||
if not isinstance(obj, (Instance, Class, pr.Module)):
|
||||
debug.warning('getattr called without instance')
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user