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

Minor repr() and str() formatting tweak for dimensionless Quantities #1772

Merged
merged 2 commits into from Dec 2, 2013

Conversation

@embray
Copy link
Member

embray commented Nov 11, 2013

Don't insert a superfluous space after the value if there is no unit.

I don't care if this goes in after 0.3, but I thought I'd put this here before I forget.

@mdboom

This comment has been minimized.

Copy link
Contributor

mdboom commented Nov 11, 2013

👍

@astrofrog

This comment has been minimized.

Copy link
Member

astrofrog commented Nov 26, 2013

@embray - does this need a changelog entry?

Otherwise, 👍

@embray

This comment has been minimized.

Copy link
Member Author

embray commented Dec 2, 2013

It's so minor, but yes, might as well.

embray added 2 commits Nov 11, 2013
… Don't insert a superfluous space after the value if there is no unit.
embray added a commit that referenced this pull request Dec 2, 2013
Minor repr() and str() formatting tweak for dimensionless Quantities
@embray embray merged commit a0e5324 into astropy:master Dec 2, 2013
@embray embray deleted the embray:quantity-formatting-nit branch Dec 2, 2013
mdboom added a commit to mdboom/astropy that referenced this pull request Dec 2, 2013
embray added a commit that referenced this pull request Feb 12, 2014
Minor repr() and str() formatting tweak for dimensionless Quantities
embray added a commit that referenced this pull request Feb 12, 2014
Minor repr() and str() formatting tweak for dimensionless Quantities
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.