Infer dict.get() in a fancy way
This commit is contained in:
1 parent
57fa5f5bd9
commit
9807a7f038
6 files changed
+80
-38
No files matched your search
@@ -339,7 +339,7 @@ def signature_matches(function_context, arguments):
|
||||
return False # TODO allow this
|
||||
|
||||
annotation_contexts = function_context.evaluator.eval_element(
|
||||
function_context.parent_context,
|
||||
function_context.get_default_param_context(),
|
||||
param_node.annotation
|
||||
)
|
||||
argument_contexts = argument.infer().py__class__()
|
||||
|
||||
Reference in new issue
Block a user