Strip spaces in properties doc after newline. #5826

Merged
merged 1 commit into from Jan 10, 2016

Conversation

Projects
None yet
2 participants
Contributor

anntzer commented Jan 10, 2016

Snippet of output of pydoc pylab.plot:

Before:

      linestyle or ls: ['solid' | 'dashed', 'dashdot', 'dotted' |                    (offset, on-off-dash-seq) |                    ``'-'`` | ``'--'`` | ``'-.'`` | ``':'`` | ``'None'`` |                    ``' '`` | ``''``]

After:

      linestyle or ls: ['solid' | 'dashed', 'dashdot', 'dotted' | (offset, on-off-dash-seq) | ``'-'`` | ``'--'`` | ``'-.'`` | ``':'`` | ``'None'`` | ``' '`` | ``''``]
@anntzer anntzer Strip spaces in properties doc after newline.
Snippet of output of `pydoc pylab.plot`:

Before:
```
      linestyle or ls: ['solid' | 'dashed', 'dashdot', 'dotted' |                    (offset, on-off-dash-seq) |                    ``'-'`` | ``'--'`` | ``'-.'`` | ``':'`` | ``'None'`` |                    ``' '`` | ``''``]
```

After:
```
      linestyle or ls: ['solid' | 'dashed', 'dashdot', 'dotted' | (offset, on-off-dash-seq) | ``'-'`` | ``'--'`` | ``'-.'`` | ``':'`` | ``'None'`` | ``' '`` | ``''``]
```
e190bf7
Owner

tacaswell commented Jan 10, 2016

This seems safe enough to backport to 1.5.x to sneak in under the wire for 1.5.1.

@tacaswell tacaswell added a commit that referenced this pull request Jan 10, 2016

@tacaswell tacaswell Merge pull request #5826 from anntzer/strip-spaces-in-properties-doc
Strip spaces in properties doc after newline.
43c14a0

@tacaswell tacaswell merged commit 43c14a0 into matplotlib:master Jan 10, 2016

1 of 2 checks passed

continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

tacaswell removed the needs_review label Jan 10, 2016

@tacaswell tacaswell added a commit that referenced this pull request Jan 10, 2016

@tacaswell tacaswell Merge pull request #5826 from anntzer/strip-spaces-in-properties-doc
Strip spaces in properties doc after newline.
659261e
Owner

tacaswell commented Jan 10, 2016

backported as 659261e

anntzer deleted the anntzer:strip-spaces-in-properties-doc branch Jun 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment