Skip to content

Commit 96b36a7

Browse files
committed
Python: Clean up some QLdocs
1 parent ce2d7fe commit 96b36a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/ql/src/semmle/python/Function.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,13 @@ class Parameter extends Parameter_ {
243243
}
244244

245245
/**
246-
* Holds if this parameter is a 'varargs' parameter.
246+
* Holds if this parameter is a "varargs" parameter.
247247
* The `varargs` in `f(a, b, *varargs)`.
248248
*/
249249
predicate isVarargs() { exists(Function func | func.getVararg() = this) }
250250

251251
/**
252-
* Holds if this parameter is a 'kwargs' parameter.
252+
* Holds if this parameter is a "kwargs" parameter.
253253
* The `kwargs` in `f(a, b, **kwargs)`.
254254
*/
255255
predicate isKwargs() { exists(Function func | func.getKwarg() = this) }
@@ -296,7 +296,7 @@ class FunctionExpr extends FunctionExpr_, CallableExpr {
296296
override Arguments getArgs() { result = FunctionExpr_.super.getArgs() }
297297
}
298298

299-
/** A lambda expression, such as lambda x:x*x */
299+
/** A lambda expression, such as `lambda x: x+1` */
300300
class Lambda extends Lambda_, CallableExpr {
301301
/** Gets the expression to the right of the colon in this lambda expression */
302302
Expr getExpression() {

0 commit comments

Comments
 (0)