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

docstring preview prevented by leading type: ... comments for PEP-484 in py2 #101

Open
neilvyas opened this issue May 17, 2018 · 0 comments

Comments

@neilvyas
Copy link

neilvyas commented May 17, 2018

This definition won't have its docstring previewed:

def f(a):
    # type: (int) -> int
    """Bars the foo.
    """
    return a + 3

PEP-484, specifically the section for syntax in py2.7.x.

I might take a stab at this later if anyone else considers it desirable.

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