File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
python/ql/src/semmle/python Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -243,13 +243,13 @@ class Parameter extends Parameter_ {
243
243
}
244
244
245
245
/**
246
- * Holds if this parameter is a ' varargs' parameter.
246
+ * Holds if this parameter is a " varargs" parameter.
247
247
* The `varargs` in `f(a, b, *varargs)`.
248
248
*/
249
249
predicate isVarargs ( ) { exists ( Function func | func .getVararg ( ) = this ) }
250
250
251
251
/**
252
- * Holds if this parameter is a ' kwargs' parameter.
252
+ * Holds if this parameter is a " kwargs" parameter.
253
253
* The `kwargs` in `f(a, b, **kwargs)`.
254
254
*/
255
255
predicate isKwargs ( ) { exists ( Function func | func .getKwarg ( ) = this ) }
@@ -296,7 +296,7 @@ class FunctionExpr extends FunctionExpr_, CallableExpr {
296
296
override Arguments getArgs ( ) { result = FunctionExpr_ .super .getArgs ( ) }
297
297
}
298
298
299
- /** A lambda expression, such as lambda x:x*x */
299
+ /** A lambda expression, such as ` lambda x: x+1` */
300
300
class Lambda extends Lambda_ , CallableExpr {
301
301
/** Gets the expression to the right of the colon in this lambda expression */
302
302
Expr getExpression ( ) {
You can’t perform that action at this time.
0 commit comments