File tree Expand file tree Collapse file tree
python/ql/src/semmle/python Expand file tree Collapse file tree Original file line number Diff line number Diff 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` */
300300class Lambda extends Lambda_ , CallableExpr {
301301 /** Gets the expression to the right of the colon in this lambda expression */
302302 Expr getExpression ( ) {
You can’t perform that action at this time.
0 commit comments