Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify position of open brace in multiline conditionals #283

Closed
warsaw opened this issue Jun 3, 2017 · 0 comments
Closed

Clarify position of open brace in multiline conditionals #283

warsaw opened this issue Jun 3, 2017 · 0 comments

Comments

@warsaw
Copy link
Member

warsaw commented Jun 3, 2017

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.

warsaw added a commit to warsaw/peps that referenced this issue Jun 3, 2017
warsaw added a commit that referenced this issue Jun 10, 2017
* Braces example for multiline conditionals.

Closes #283
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant