Update python/ql/src/semmle/python/objects/ObjectAPI.qll

Co-Authored-By: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
Rebecca Valentine
2020-03-09 19:20:08 -07:00
committed by GitHub
parent fe2bb8fb4b
commit 047c328c58

View File

@@ -517,7 +517,7 @@ abstract class FunctionValue extends CallableValue {
}
/** Whether this is a "normal" method, that is, it is exists as a class attribute
* which is not wrapped and not the __new__ method. */
* which is not a lambda and not the __new__ method. */
predicate isNormalMethod() {
exists(ClassValue cls, string name |
cls.declaredAttribute(name) = this and