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

Module Callables

Import path

import semmle.python.objects.Callables

Imports

Classes

BoundMethodObjectInternal

A bound-method. Note that built-in methods, such as [].append are also represented as bound-methods. Although built-in methods and bound-methods are distinct classes in CPython, their behavior is the same and we treat them identically.

BuiltinFunctionObjectInternal

A built-in function such as len or print.

BuiltinMethodObjectInternal

A method of a built-in class (otherwise known as method-descriptors) such as list.append.

CallableObjectInternal
PythonFunctionObjectInternal

A Python function.