Base Nodes#

These are abstract node classes that other nodes inherit from.

astroid.nodes.BaseContainer(lineno, ...)

Base class for Set, FrozenSet, Tuple and List.

astroid.nodes.ComprehensionScope(lineno, ...)

Scoping for different types of comprehensions.

astroid.nodes.LocalsDictNodeNG(lineno, ...)

this class provides locals handling common to Module, FunctionDef and ClassDef nodes, including a dict like interface for direct access to locals information

astroid.nodes.NodeNG(lineno, col_offset, ...)

A node of the new Abstract Syntax Tree (AST).

astroid.nodes.Pattern(lineno, col_offset, ...)

Base class for all Pattern nodes.