@@ -345,11 +345,11 @@ abstract class DataFlowFunction extends DataFlowCallable, TFunction {
345345 )
346346 or
347347 // `**kwargs`
348- // since dataflow library has restriction that we can only have ONE result per
348+ // since the dataflow library has the restriction that we can only have ONE result per
349349 // parameter position, if there is both a synthetic **kwargs and a real **kwargs
350350 // parameter, we only give the result for the synthetic, and add local flow from the
351351 // synthetic to the real. It might seem more natural to do it in the other
352- // direction, but since we have a clearStep on the real **kwargs parameter, we that
352+ // direction, but since we have a clearStep on the real **kwargs parameter, we would have that
353353 // content-clearing would also affect the synthetic parameter, which we don't want.
354354 ppos .isDictSplat ( ) and
355355 if exists ( func .getArgByName ( _) )
@@ -1193,7 +1193,7 @@ predicate getCallArg(CallNode call, Function target, CallType type, Node arg, Ar
11931193 type instanceof CallTypeNormalMethod and
11941194 apos .isSelf ( ) and
11951195 resolveMethodCall ( call , target , type , arg ) and
1196- // dataflow lib has requirement that arguments and calls are in same enclosing
1196+ // the dataflow library has a requirement that arguments and calls are in same enclosing
11971197 // callable. This requirement would be broken if we used `my_obj` as the self
11981198 // argument in the `f()` call in the example below:
11991199 // ```py
@@ -1206,7 +1206,7 @@ predicate getCallArg(CallNode call, Function target, CallType type, Node arg, Ar
12061206 cfgNode .getEnclosingCallable ( ) = arg .getEnclosingCallable ( )
12071207 )
12081208 or
1209- // cls argument for classmethod calls -- see ntoe above about bound methods
1209+ // cls argument for classmethod calls -- see note above about bound methods
12101210 type instanceof CallTypeClassMethod and
12111211 apos .isSelf ( ) and
12121212 resolveMethodCall ( call , target , type , arg ) and
0 commit comments