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

Module Object

Import path

import semmle.python.types.Object

Imports

Predicates

theBuiltinModuleObject

Gets the builtin module

theFalseObject

Gets the built-in object False

theIndexErrorType

Gets the IndexError class

theLookupErrorType

Gets the LookupError class

theNameErrorType

Gets the NameError class

theNoneObject

Gets the built-in object None

theStandardErrorType

Gets the StandardError class

theSysModuleObject

Gets the sys module

theTrueObject

Gets the built-in object True

theUnknownType

Classes

ListObject
NonEmptyTupleObject
NumericObject

A numeric object (int or float). Includes those occurring in the source as a literal or in a builtin module as a value.

Object

An object.

SequenceObject

A sequence object (list or tuple) Includes those occurring in the source as a literal or in a builtin module as a value.

StringObject

A string object (unicode or bytes). Includes those occurring in the source as a literal or in a builtin module as a value.

SuperBoundMethod
TupleObject

Modules