Move all Name classes to a separate file

This commit is contained in:
Dave Halter committed 2019-05-07 00:30:16 +02:00
1 parent ad48ec4cfd
commit 895eae1d54
19 files changed
+180 -170

No files matched your search

+1 -1
View File
@@ -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)