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

Member predicate DecoratedFunction::descriptorGetInstance

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

predicate descriptorGetInstance(ObjectInternal instance, ObjectInternal value, CfgOrigin origin)