Skip to content

Commit 203481a

Browse files
committed
Python: rearrange to minimize diff
also fix typo
1 parent efc5cfb commit 203481a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -450,9 +450,6 @@ abstract class DataFlowCall extends TDataFlowCall {
450450
/** Gets a textual representation of this element. */
451451
abstract string toString();
452452

453-
/** Gets the enclosing callable of this call. */
454-
abstract DataFlowCallable getEnclosingCallable();
455-
456453
/** Get the callable to which this call goes, if such exists. */
457454
abstract DataFlowCallable getCallable();
458455

@@ -465,6 +462,9 @@ abstract class DataFlowCall extends TDataFlowCall {
465462
/** Get the control flow node representing this call, if any. */
466463
abstract ControlFlowNode getNode();
467464

465+
/** Gets the enclosing callable of this call. */
466+
abstract DataFlowCallable getEnclosingCallable();
467+
468468
/** Gets the location of this dataflow call. */
469469
abstract Location getLocation();
470470

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ module SyntheticPostUpdateNode {
155155
)
156156
}
157157

158-
/** Holds if `call` can be resolved as anormal call */
158+
/** Holds if `call` can be resolved as a normal call */
159159
private predicate resolvedCall(CallNode call) {
160160
call = any(DataFlowCallableValue cv).getACall()
161161
or

0 commit comments

Comments
 (0)