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

Wrapped text gets repeated in some cases #2

Open
fvisin opened this issue Feb 7, 2018 · 0 comments
Open

Wrapped text gets repeated in some cases #2

fvisin opened this issue Feb 7, 2018 · 0 comments

Comments

@fvisin
Copy link

fvisin commented Feb 7, 2018

I noticed that when docstrings get wrapped the text is repeated twice on the new line. Weirdly enough, this happens only when the number of letters of the word that is being wrapped is 3 or 4, and the word begins with a letter.

Example:

class Example(object):
    """ Some docstring

    Parameters
    ----------------
    first_param: int
        The last word should be three of four letters long and begin
        with
    """

gets wrapped as:

class Example(object):
    """ Some docstring

    Parameters
    ----------------
    first_param: int
        The last word should be three of four letters long and begin
        withwith
    """
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

No branches or pull requests

1 participant