Module Object

Import path

import semmle.python.types.Object

Imports

Predicates

builtin_object

DEPRECATED – Use Object::builtin(name) instead.

quitterObject

DEPRECATED – Use Object::quitter(name) instead.

theBuiltinModuleObject

The builtin module

theEmptyTupleObject

DEPRECATED – Use TupleObject::empty() instead.

theFalseObject

The built-in object False

theIndexErrorType

The IndexError class

theLookupErrorType

The LookupError class

theNameErrorType

The NameError class

theNoneObject

The built-in object None

theNotImplementedObject

DEPRECATED – Use Object::notImplemented() instead.

theStandardErrorType

The StandardError class

theSysModuleObject

The sys module

theTrueObject

The built-in object True

theUnknownType

Classes

ListObject
NonEmptyTupleObject
NumericObject

Numeric objects (ints and floats). Includes those occurring in the source as a literal or in a builtin module as a value.

Object

Instances of this class represent objects in the Python program. However, since the QL database is static and Python programs are dynamic, there are necessarily a number of approximations.

SequenceObject

Sequence objects (lists and tuples) Includes those occurring in the source as a literal or in a builtin module as a value.

StringObject

String objects (unicode or bytes). Includes those occurring in the source as a literal or in a builtin module as a value.

SuperBoundMethod
TupleObject

Modules