CodeQL library for Python
codeql/python-all 2.1.3-dev (changelog, source)
Search

Member predicate AbsentModuleAttributeObjectInternal::descriptorGetClass

Holds if the result of attribute access on the class holding this descriptor is value, originating at origin For example, although T.__dict__['name'] = classmethod(f), T.name is a bound-method, binding f and T

predicate descriptorGetClass(ObjectInternal cls, ObjectInternal value, CfgOrigin origin)