1
0
forked from VimPlug/jedi

getattr is now also allowed on modules, fixes #116

This commit is contained in:
David Halter
2013-05-03 17:00:07 +04:30
parent 1d45105461
commit 4865505215
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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