mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-10 07:41:51 +08:00
added thirdparty testing (test/completion/thirdparty/) and fixed an AttributeError
This commit is contained in:
@@ -207,7 +207,7 @@ class Instance(Executable):
|
||||
return res
|
||||
|
||||
def __getattr__(self, name):
|
||||
if name not in ['line_nr', 'indent', 'name']:
|
||||
if name not in ['line_nr', 'indent', 'name', 'get_imports']:
|
||||
raise AttributeError("Don't touch this (%s)!" % name)
|
||||
return getattr(self.base, name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user