mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Fixed an issue about compiled bound methods
This commit is contained in:
@@ -419,7 +419,7 @@ class BoundMethod(FunctionMixin, ContextWrapper):
|
||||
class CompiledBoundMethod(compiled.CompiledObject):
|
||||
def __init__(self, func):
|
||||
super(CompiledBoundMethod, self).__init__(
|
||||
func.evaluator, func.access_handle, func.parent_context, func.tree_node)
|
||||
func.evaluator, func.access_handle, func.parent_context)
|
||||
|
||||
def get_param_names(self):
|
||||
return list(super(CompiledBoundMethod, self).get_param_names())[1:]
|
||||
|
||||
Reference in New Issue
Block a user