Skip to content

Too many values when unpacking a string literal #2928

@lolpack

Description

@lolpack

Unpacking "abc" (length 3) into 2 targets should produce an error.

a, b = "abc"

Sandbox: Pyrefly

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions