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

Predicate Module::builtinModule

Get the ModuleValue for the builtin module.

Import path

import semmle.python.objects.ObjectAPI
ModuleValue builtinModule()