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

Predicate Module::builtinModule

Get the ModuleValue for the builtin module.

Import path

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