Clarify position of open brace in multiline conditionals

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

@warsaw

Description

From https://mail.python.org/pipermail/python-dev/2017-June/148223.html

But the latter example continuation lines are intended at the same level as the following block of code. I propose to make exception for that case and allow moving an open brace to the start of the next line.

I agree with Serhiy; pull request coming momentarily.

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