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

Predicate theBoundMethodType

Gets the builtin class of bound methods

Import path

import semmle.python.types.ClassObject
ClassObject theBoundMethodType()