star-needs-assignment-target / E0114#

Message emitted:

Can use starred expression only in assignment target

Description:

Emitted when a star expression is not used in an assignment target.

Correct code:

sirius, *arcturus_and_vega = ["Sirius", "Arcturus", "Vega"]

Problematic code:

stars = *["Sirius", "Arcturus", "Vega"]  # [star-needs-assignment-target]

Created by the basic checker.