Skip to content

LHS parenethesis could be removed sometimes #4725

@ColemanTom

Description

@ColemanTom

Describe the style change

If you have (...) = something, the LHS parenthesis, I think, should not be kept.

Examples in the current Black style

def a():
    return 1, 2, 3

(b) = a()[0]
(c, *_) = a()

Desired style

def a():
    return 1, 2, 3

b = a()[0]
c, *_ = a()

Metadata

Metadata

Assignees

No one assigned

    Labels

    T: styleWhat do we want Blackened code to look like?

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions