mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-19 20:54:33 +08:00
Fix a bug related to a wrong parametrization at one point
This commit is contained in:
@@ -189,7 +189,7 @@ class AbstractInstanceContext(Context):
|
||||
)
|
||||
return bound_method.get_function_execution()
|
||||
elif scope.type == 'classdef':
|
||||
class_context = ClassContext(self.evaluator, scope, parent_context)
|
||||
class_context = ClassContext(self.evaluator, parent_context, scope)
|
||||
return class_context
|
||||
elif scope.type == 'comp_for':
|
||||
# Comprehensions currently don't have a special scope in Jedi.
|
||||
|
||||
Reference in New Issue
Block a user