1
0
forked from VimPlug/jedi

Move instance module to the context package.

This commit is contained in:
Dave Halter
2017-09-29 15:14:56 +02:00
parent 8f177eea07
commit 95930d293c
13 changed files with 15 additions and 13 deletions

View File

@@ -109,7 +109,7 @@ def _check_for_setattr(instance):
def add_attribute_error(name_context, lookup_context, name):
message = ('AttributeError: %s has no attribute %s.' % (lookup_context, name))
from jedi.evaluate.instance import AbstractInstanceContext, CompiledInstanceName
from jedi.evaluate.context.instance import AbstractInstanceContext, CompiledInstanceName
# Check for __getattr__/__getattribute__ existance and issue a warning
# instead of an error, if that happens.
typ = Error