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

Fix double indentation in PrettyPrinter.group() #2

Merged
merged 1 commit into from
Jan 10, 2019

Conversation

alexshpilkin
Copy link
Contributor

@alexshpilkin alexshpilkin commented Sep 25, 2018

Currently, with p.group(n, ...) indents the lines inside to 2n, not n, because it mistakenly uses both begin_group and indent. Fix this.

@mgrandi
Copy link
Owner

mgrandi commented Oct 5, 2018

hey! thanks for this, i'll look at this and if it looks good i'll do another pypi release

@mgrandi mgrandi merged commit ce968f1 into mgrandi:master Jan 10, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants