Skip to content

(TYPO) Error message value swap -> ValueError: not enough values to unpack  #127796

@HumanBot000

Description

@HumanBot000

Bug report

Bug description:

for a,b in string:

This raised issue is ValueError: not enough values to unpack (expected 2, got 1)
But it should be

ValueError: not enough values to unpack (expected 1, got 2)

because two values should be unpacked, whilst string expects only one

CPython versions tested on:

3.10

Operating systems tested on:

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions