Skip to content

Commit 24e9f65

Browse files
committed
Python: Fix documentation of MultiAssignmentDefinition.indexOf
As discussed in person
1 parent 4433cc0 commit 24e9f65

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

  • python/ql/src/semmle/python/essa

python/ql/src/semmle/python/essa/Essa.qll

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -609,11 +609,7 @@ class MultiAssignmentDefinition extends EssaNodeDefinition {
609609
)
610610
}
611611

612-
/**
613-
* Holds if `this` has index `index` in `lhs`.
614-
*
615-
* For example, for `a,b = t` the call `b.indexOf(1, t)` holds.
616-
*/
612+
/** Holds if `this` has (zero-based) index `index` in `lhs`. */
617613
predicate indexOf(int index, SequenceNode lhs) {
618614
SsaSource::multi_assignment_definition(this.getSourceVariable(), this.getDefiningNode(), index, lhs)
619615
}

0 commit comments

Comments
 (0)