mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-19 02:12:47 +08:00
Remove even more code that is probably not needed
This commit is contained in:
@@ -239,12 +239,6 @@ class CompiledInstance(AbstractInstanceContext):
|
||||
def name(self):
|
||||
return compiled.CompiledContextName(self, self.class_context.name.string_name)
|
||||
|
||||
def create_instance_context(self, class_context, node):
|
||||
if get_parent_scope(node).type == 'classdef':
|
||||
return class_context
|
||||
else:
|
||||
return super(CompiledInstance, self).create_instance_context(class_context, node)
|
||||
|
||||
def get_first_non_keyword_argument_contexts(self):
|
||||
key, lazy_context = next(self._original_var_args.unpack(), ('', None))
|
||||
if key is not None:
|
||||
|
||||
Reference in New Issue
Block a user