Move all Name classes to a separate file
This commit is contained in:
1 parent
ad48ec4cfd
commit
895eae1d54
19 files changed
+180
-170
No files matched your search
@@ -205,7 +205,7 @@ class ContextWrapper(HelperContextMixin, object):
|
||||
|
||||
@safe_property
|
||||
def name(self):
|
||||
from jedi.evaluate.filters import ContextName
|
||||
from jedi.evaluate.names import ContextName
|
||||
wrapped_name = self._wrapped_context.name
|
||||
if wrapped_name.tree_name is not None:
|
||||
return ContextName(self, wrapped_name.tree_name)
|
||||
|
||||
Reference in new issue
Block a user