Skip to content

Commit 7ee24e5

Browse files
committed
spelling: synthesized
Signed-off-by: Josh Soref <[email protected]>
1 parent 887b49a commit 7ee24e5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,12 @@ module ArgumentPassing {
205205
result = TCfgNode(call.getArgByName(unbind_string(argName)))
206206
)
207207
or
208-
// a synthezised argument passed to the starred parameter (at position -1)
208+
// a synthesized argument passed to the starred parameter (at position -1)
209209
callable.getScope().hasVarArg() and
210210
paramN = -1 and
211211
result = TPosOverflowNode(call, callable)
212212
or
213-
// a synthezised argument passed to the doubly starred parameter (at position -2)
213+
// a synthesized argument passed to the doubly starred parameter (at position -2)
214214
callable.getScope().hasKwArg() and
215215
paramN = -2 and
216216
result = TKwOverflowNode(call, callable)

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ predicate attributeStoreStep(Node nodeFrom, AttributeContent c, PostUpdateNode n
668668
}
669669

670670
/**
671-
* Holds if `nodeFrom` flows into the synthezised positional overflow argument (`nodeTo`)
671+
* Holds if `nodeFrom` flows into the synthesized positional overflow argument (`nodeTo`)
672672
* at the position indicated by `c`.
673673
*/
674674
predicate posOverflowStoreStep(CfgNode nodeFrom, TupleElementContent c, Node nodeTo) {
@@ -680,7 +680,7 @@ predicate posOverflowStoreStep(CfgNode nodeFrom, TupleElementContent c, Node nod
680680
}
681681

682682
/**
683-
* Holds if `nodeFrom` flows into the synthezised keyword overflow argument (`nodeTo`)
683+
* Holds if `nodeFrom` flows into the synthesized keyword overflow argument (`nodeTo`)
684684
* at the key indicated by `c`.
685685
*/
686686
predicate kwOverflowStoreStep(CfgNode nodeFrom, DictionaryElementContent c, Node nodeTo) {
@@ -814,7 +814,7 @@ predicate attributeReadStep(Node nodeFrom, AttributeContent c, AttrRead nodeTo)
814814

815815
/**
816816
* Holds if `nodeFrom` is a dictionary argument being unpacked and `nodeTo` is the
817-
* synthezised unpacked argument with the name indicated by `c`.
817+
* synthesized unpacked argument with the name indicated by `c`.
818818
*/
819819
predicate kwUnpackReadStep(CfgNode nodeFrom, DictionaryElementContent c, Node nodeTo) {
820820
exists(CallNode call, CallableValue callable, string name |

0 commit comments

Comments
 (0)