forked from VimPlug/jedi
Removed dead code
This commit is contained in:
@@ -47,14 +47,6 @@ class CompiledObject(Context):
|
||||
|
||||
@CheckAttribute()
|
||||
def py__call__(self, arguments):
|
||||
if self.tree_node is not None and self.tree_node.type == 'funcdef':
|
||||
# TODO delete, this is dead code
|
||||
from jedi.evaluate.context.function import FunctionContext
|
||||
return FunctionContext(
|
||||
self.evaluator,
|
||||
parent_context=self.parent_context,
|
||||
tree_node=self.tree_node
|
||||
).py__call__(arguments=arguments)
|
||||
if self.access_handle.is_class():
|
||||
from jedi.evaluate.context import CompiledInstance
|
||||
return ContextSet([
|
||||
|
||||
Reference in New Issue
Block a user