Python: Handle dict unpacking in calls

Co-authored-by: yoff <yoff@github.com>
This commit is contained in:
Taus
2026-04-21 16:03:38 +00:00
parent a62f8fae8e
commit bdcab5204c

View File

@@ -364,6 +364,8 @@ private module Ast {
ExprNode getKeywordValue(int n) {
result.asExpr() = call.getNamedArg(n).(Py::Keyword).getValue()
or
result.asExpr() = call.getNamedArg(n).(Py::DictUnpacking).getValue()
}
int getNumberOfNamedArgs() { result = count(call.getANamedArg()) }