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

Member predicate ModuleObjectInternal::exports

Holds if this module “exports” name. That is, does it define name in __all__ or is __all__ not defined and name a global variable that does not start with “_” This is the set of names imported by from ... import *.

predicate exports(string name)