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

Member predicate ClassObjectInternal::binds

Holds if attribute lookup on this object may “bind” instance to descriptor. Here “bind” means that instance is passed to the descriptor.__get__() method at runtime. The term “bind” is used as this most likely results in a bound-method.

predicate binds(ObjectInternal instance, string name, ObjectInternal descriptor)