Python: Fix documentation of MultiAssignmentDefinition.indexOf

As discussed in person
This commit is contained in:
Rasmus Wriedt Larsen
2020-02-27 14:12:33 +01:00
parent 4433cc044d
commit 24e9f65a2f

View File

@@ -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)
}