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

Predicate theNameErrorType

Gets the NameError class

Import path

import semmle.python.types.Object
Object theNameErrorType()