We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
getAKeywordOnlyArg
getAKwonlyarg
1 parent c508e89 commit 8c1cfe5Copy full SHA for 8c1cfe5
1 file changed
python/ql/src/semmle/python/Function.qll
@@ -94,7 +94,7 @@ class Function extends Function_, Scope, AstNode {
94
int getPositionalParameterCount() { result = count(this.getAnArg()) }
95
96
/** Gets the number of keyword-only parameters */
97
- int getKeywordOnlyParameterCount() { result = count(this.getAKwonlyarg()) }
+ int getKeywordOnlyParameterCount() { result = count(this.getAKeywordOnlyArg()) }
98
99
/** Whether this function accepts a variable number of arguments. That is, whether it has a starred (*arg) parameter. */
100
predicate hasVarArg() { exists(this.getVararg()) }
0 commit comments