Skip to content

ENH: Strip trailing spaces from continuation in multiline arrayprint #10129

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

Merged
merged 1 commit into from
Nov 30, 2017

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Nov 30, 2017

This is otherwise pretty strict about trailing spaces, so we may as well cut them here too, especially since the repr has changed here already

Extracted from #10123, and with tests added - it turns out that we never tested this code path.

Milestoned for 1.14 since it's a formatting change

This is otherwise pretty strict about trailing spaces, so we may as well cut them here too, especially since the repr has changed here already.

The newlines look better to me for multi-dimensional arrays too.
Copy link
Contributor

@mhvk mhvk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@mhvk
Copy link
Contributor

mhvk commented Nov 30, 2017

I'll also merge this, since I think it is "obviously good".

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.

2 participants