mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Python: Fix documentation of MultiAssignmentDefinition.indexOf
As discussed in person
This commit is contained in:
@@ -609,11 +609,7 @@ class MultiAssignmentDefinition extends EssaNodeDefinition {
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if `this` has index `index` in `lhs`.
|
||||
*
|
||||
* For example, for `a,b = t` the call `b.indexOf(1, t)` holds.
|
||||
*/
|
||||
/** Holds if `this` has (zero-based) index `index` in `lhs`. */
|
||||
predicate indexOf(int index, SequenceNode lhs) {
|
||||
SsaSource::multi_assignment_definition(this.getSourceVariable(), this.getDefiningNode(), index, lhs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user