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

[Feature Request] Add support for type hint syntax #13

Closed
letientai299 opened this issue Nov 17, 2016 · 2 comments
Closed

[Feature Request] Add support for type hint syntax #13

letientai299 opened this issue Nov 17, 2016 · 2 comments

Comments

@letientai299
Copy link
Contributor

Please add support for Type Hint (PEP 484) in Python 3.

As of now, pydocstring create the following result.

def foo(n: int ) -> bool:
    """foo

    :param n:int)->bool::
    """
    return True

It would be much better if we could get following result:

def foo(n: int ) -> bool:
    """foo

    :param n (int):

    :return (bool):
    """
    return True
"""
@heavenshell
Copy link
Owner

@letientai299
Yeah, I will support it.
But this is no easy, so stay tuned.

If you don't wait my implementation, patches are welcome 😊

@heavenshell
Copy link
Owner

Done #15

This issue was closed.
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

2 participants