Python: Apply suggestions from code review

Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
Rasmus Wriedt Larsen
2021-07-02 13:27:41 +02:00
committed by GitHub
parent 22c155687e
commit 81fab487a4

View File

@@ -21,7 +21,7 @@ abstract class AttrRef extends Node {
* Holds if this data flow node accesses attribute named `attrName` on object `object`.
*/
predicate accesses(Node object, string attrName) {
this.getObject() = object and getAttributeName() = attrName
this.getObject() = object and this.getAttributeName() = attrName
}
/**