mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Python: Apply suggestions from code review
Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
committed by
GitHub
parent
22c155687e
commit
81fab487a4
@@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user