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

Indent code inside if block #15284

Merged
merged 2 commits into from
Aug 15, 2019
Merged

Indent code inside if block #15284

merged 2 commits into from
Aug 15, 2019

Conversation

hansrajdas
Copy link
Contributor

  • Without indendation, seems like strcpy line is parallel to if condition
  • Improves readability

* Without indendation, seems like strcpy line is parallel to `if` condition
* Improves readability
@miss-islington
Copy link
Contributor

Thanks @hansrajdas for the PR, and @benjaminp for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 15, 2019
Without indendation, seems like strcpy line is parallel to `if` condition.
(cherry picked from commit 69f37bc)

Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
@bedevere-bot
Copy link

GH-15306 is a backport of this pull request to the 3.8 branch.

@bedevere-bot
Copy link

GH-15307 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 15, 2019
Without indendation, seems like strcpy line is parallel to `if` condition.
(cherry picked from commit 69f37bc)

Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
miss-islington added a commit that referenced this pull request Aug 15, 2019
Without indendation, seems like strcpy line is parallel to `if` condition.
(cherry picked from commit 69f37bc)

Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
miss-islington added a commit that referenced this pull request Aug 15, 2019
Without indendation, seems like strcpy line is parallel to `if` condition.
(cherry picked from commit 69f37bc)

Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
Without indendation, seems like strcpy line is parallel to `if` condition.
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
Without indendation, seems like strcpy line is parallel to `if` condition.
websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request Jul 20, 2020
Without indendation, seems like strcpy line is parallel to `if` condition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants