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

Module ObjectInternal

Internal object API. For use by points-to and testing only.

Import path

import semmle.python.objects.ObjectInternal

Imports

Predicates

bounded_toString

Returns a string representation of obj. Because some classes have (mutually) recursive toString implementations, this predicate acts as a stop for these classes, preventing an unbounded toString from being materialized.

maybe

Helper for boolean predicates returning both true and false

receiver_type

Helper for attributes

Classes

Modules