mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Update python/ql/src/semmle/python/objects/ObjectAPI.qll
Co-Authored-By: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
committed by
GitHub
parent
fe2bb8fb4b
commit
047c328c58
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user