1
0
forked from VimPlug/jedi

Some more code quality fixes

This commit is contained in:
Dave Halter
2020-04-11 02:23:23 +02:00
parent bdd4deedc1
commit 02c3d651bd
11 changed files with 10 additions and 22 deletions

View File

@@ -589,9 +589,6 @@ def _parse_function_doc(doc):
def create_from_name(inference_state, compiled_value, name):
access_paths = compiled_value.access_handle.getattr_paths(name, default=None)
parent_context = compiled_value
if parent_context.is_class():
parent_context = parent_context.parent_context
value = None
for access_path in access_paths: