MCPcopy Index your code
hub / github.com/RustPython/RustPython / call_uses_ex_call

Method call_uses_ex_call

crates/codegen/src/compile.rs:8525–8533  ·  view source on GitHub ↗
(&self, arguments: &ast::Arguments)

Source from the content-addressed store, hash-verified

8523 }
8524
8525 fn call_uses_ex_call(&self, arguments: &ast::Arguments) -> bool {
8526 let has_starred = arguments
8527 .args
8528 .iter()
8529 .any(|arg| matches!(arg, ast::Expr::Starred(_)));
8530 let has_double_star = arguments.keywords.iter().any(|k| k.arg.is_none());
8531 let too_big = arguments.args.len() + arguments.keywords.len() > 15;
8532 has_starred || has_double_star || too_big
8533 }
8534
8535 /// Compile subkwargs: emit key-value pairs for BUILD_MAP
8536 fn codegen_subkwargs(

Callers 1

compile_callMethod · 0.80

Calls 3

iterMethod · 0.45
is_noneMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected