mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-17 05:24:10 +08:00
Fix a few remaining issues about the current branch
This commit is contained in:
@@ -439,12 +439,9 @@ class Evaluator(object):
|
||||
if parent_was_class:
|
||||
parent_context = AnonymousInstance(
|
||||
self, parent_context.parent_context, parent_context)
|
||||
cls = MethodContext
|
||||
else:
|
||||
cls = FunctionContext
|
||||
|
||||
func = cls.from_context(parent_context, scope_node)
|
||||
func = next(iter(stubify(func)))
|
||||
func = FunctionContext.from_context(parent_context, scope_node)
|
||||
func = next(iter(stubify(parent_context, func)))
|
||||
|
||||
if parent_was_class:
|
||||
func = BoundMethod(
|
||||
|
||||
Reference in New Issue
Block a user