class astroid.nodes.Starred(ctx: Context, lineno: int, col_offset: int, parent: NodeNG, *, end_lineno: int | None, end_col_offset: int | None)[source]#

Bases: ParentAssignNode

Class representing an ast.Starred node.

>>> import astroid
>>> node = astroid.extract_node('*args')
>>> node
<Starred l.1 at 0x7f23b2e41978>
assigned_stmts(**kwargs: _P.kwargs) Generator[InferenceResult, None, None]#

Returns the assigned statement (non inferred) according to the assignment type. See astroid/ for actual implementation.


Whether the starred item is assigned to or loaded from.


Get the child nodes below this node.

postinit(value: NodeNG) None[source]#
value: NodeNG#

What is being unpacked.