Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4a5fa59

Browse files
yoffRasmusWL
andauthored
Apply suggestions from code review
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent b8931d3 commit 4a5fa59

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

python/ql/lib/semmle/python/ApiGraphs.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ module API {
605605
}
606606

607607
/**
608-
* Holds is them module `name` is imported.
608+
* Holds if the module `name` is imported.
609609
*
610610
* This is determined syntactically.
611611
*/

python/ql/lib/semmle/python/dataflow/new/FlowSummary.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** Provides classes and predicates for defining flow summaries. */
22

3-
import python
4-
import semmle.python.dataflow.new.DataFlow
3+
private import python
4+
private import semmle.python.dataflow.new.DataFlow
55
private import internal.FlowSummaryImpl as Impl
66
private import internal.DataFlowUtil
77
private import internal.DataFlowPrivate

python/ql/lib/semmle/python/dataflow/new/internal/DataFlowDispatchPointsTo.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,11 @@ abstract class DataFlowCall extends TDataFlowCall {
465465

466466
/**
467467
* Gets the argument to this call that will be sent
468-
* to the `n`th parameter of the callable, if such exists.
468+
* to the `n`th parameter of the callable, if any.
469469
*/
470470
abstract Node getArg(int n);
471471

472-
/** Get the control flow node representing this call, if such exists. */
472+
/** Get the control flow node representing this call, if any. */
473473
abstract ControlFlowNode getNode();
474474

475475
/** Gets the location of this dataflow call. */
@@ -655,7 +655,7 @@ class LibraryCall extends NormalCall {
655655
* map(lambda x: x + 1, [1, 2, 3])
656656
* ```
657657
*
658-
* there is a call to the lambda argument inside `map`.
658+
* there is a synthesized call to the lambda argument inside `map`.
659659
*/
660660
class SummaryCall extends DataFlowCall, TSummaryCall {
661661
private FlowSummaryImpl::Public::SummarizedCallable c;

0 commit comments

Comments
 (0)